mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-12 20:24:43 +08:00
9 lines
279 B
Text
9 lines
279 B
Text
|
<% if @editing %>
|
||
|
<div class="sci-input-container">
|
||
|
<%= label_tag @name, @label %>
|
||
|
<%= select_tag @name, options_from_collection_for_select(@team_members, :id, :name), placeholder: @placeholder, class: 'sci-input-field' %>
|
||
|
</div>
|
||
|
<% else %>
|
||
|
<%= @value %>
|
||
|
<% end %>
|