scinote-web/app/components/reports/large_text_input_component.html.erb

9 lines
227 B
Text
Raw Normal View History

<% if @editing %>
<div class="sci-input-container">
<%= label_tag @name, @label %>
<%= text_area_tag @name, @value, placeholder: @placeholder, class: 'sci-input-field' %>
</div>
<% else %>
<%= @value %>
<% end %>