mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-04 19:53:19 +08:00
Fix empty checklist and dropdown column creation
This commit is contained in:
parent
accd1d9e16
commit
0a3359e815
2 changed files with 4 additions and 4 deletions
|
@ -4,7 +4,7 @@
|
|||
selected_delimiter_char = Constants::REPOSITORY_LIST_ITEMS_DELIMITERS_MAP[selected_delimiter.to_sym]
|
||||
%>
|
||||
|
||||
<%= hidden_field_tag 'dropdown-options', '', class: 'dropdown-options' %>
|
||||
<%= hidden_field_tag 'dropdown-options', '[]', class: 'dropdown-options' %>
|
||||
<div class="form-group">
|
||||
<label class="control-label col-sm-3" for="repository-column-data-type">
|
||||
<%= t('libraries.manange_modal_column.list_type.delimiter_label') %>
|
||||
|
@ -32,7 +32,7 @@
|
|||
>
|
||||
</select>
|
||||
<div class="limit-counter-container">
|
||||
<span class="items-count"></span>
|
||||
<span class="items-count" data-count="0">0</span>
|
||||
<span class="items-limit">/<%= Constants::REPOSITORY_CHECKLIST_ITEMS_PER_COLUMN %> </span>
|
||||
<span class="items-label"></span></div>
|
||||
</div>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
selected_delimiter_char = Constants::REPOSITORY_LIST_ITEMS_DELIMITERS_MAP[selected_delimiter.to_sym]
|
||||
%>
|
||||
|
||||
<%= hidden_field_tag 'dropdown-options', '', class: 'dropdown-options' %>
|
||||
<%= hidden_field_tag 'dropdown-options', '[]', class: 'dropdown-options' %>
|
||||
<div class="form-group">
|
||||
<label class="control-label col-sm-3" for="repository-column-data-type">
|
||||
<%= t('libraries.manange_modal_column.list_type.delimiter_label') %>
|
||||
|
@ -28,7 +28,7 @@
|
|||
<select class="form-control preview-select">
|
||||
</select>
|
||||
<div class="limit-counter-container">
|
||||
<span class="items-count"></span>
|
||||
<span class="items-count" data-count="0">0</span>
|
||||
<span class="items-limit">/<%= Constants::REPOSITORY_LIST_ITEMS_PER_COLUMN %> </span>
|
||||
<span class="items-label"></span></div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue