Files
old-holivud2/app/views/shared/_custom_fields.html.erb

6 lines
181 B
Plaintext
Raw Normal View History

2020-06-22 20:28:22 +02:00
<% (1..MedicalRelease::NUMBER_OF_CUSTOM_FIELDS).each do |n| %>
2020-06-12 16:38:59 +02:00
<div class="form-row">
<%= form.text_area "question_#{n}_text", wrapper_class: "col-sm-12" %>
</div>
<% end%>