Files
old-holivud2/app/views/shared/_custom_fields.html.erb
2020-08-20 06:50:51 +02:00

9 lines
284 B
Plaintext

<% (1..MedicalRelease::NUMBER_OF_CUSTOM_FIELDS).each do |n| %>
<div class="form-row">
<%= form.text_area "question_#{n}_text", wrapper_class: "col-sm-12" %>
</div>
<% end%>
<%= form.form_group do %>
<%= form.rich_text_area :questionnaire_legal_text, hint: true %>
<% end %>