mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-16 14:17:00 +08:00
d18a54c874
Update create and update action [SCI-5641]
8 lines
270 B
Text
8 lines
270 B
Text
<% if @editing %>
|
|
<div class="sci-input-container">
|
|
<%= label_tag @name, @label %>
|
|
<%= text_area_tag @name, @value, placeholder: @placeholder, class: 'sci-input-field', data: { type: 'LargeTextInputComponent' } %>
|
|
</div>
|
|
<% else %>
|
|
<%= @value %>
|
|
<% end %>
|