mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-24 08:43:13 +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 %>
|