mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-24 00:29:30 +08:00
Fix multiple user selection in report templates [SCI-5748]
This commit is contained in:
parent
8d0a4f0096
commit
8831427b7f
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
<% if @editing %>
|
||||
<div class="sci-select-container">
|
||||
<%= label_tag @name, @label %>
|
||||
<%= select_tag @name, options_from_collection_for_select(@project_members, :id, :name), placeholder: @placeholder, class: 'sci-input-field report-template-value-dropdown', data: { type: 'ProjectMembersInputComponent' } %>
|
||||
<%= select_tag @name, options_from_collection_for_select(@project_members, :id, :name, @value), placeholder: @placeholder, class: 'sci-input-field report-template-value-dropdown', data: { type: 'ProjectMembersInputComponent' }, multiple: true %>
|
||||
</div>
|
||||
<% else %>
|
||||
<% @project_members.where(id: @value).each do |member| %>
|
||||
|
|
Loading…
Reference in a new issue