|
|
@ -31,6 +31,9 @@ |
|
|
|
<%= f.govuk_error_summary %> |
|
|
|
<%= f.govuk_error_summary %> |
|
|
|
<% @page.questions.map do |question| %> |
|
|
|
<% @page.questions.map do |question| %> |
|
|
|
<div id=<%= question.id + "_div " %><%= display_question_key_div(@page, question) %> > |
|
|
|
<div id=<%= question.id + "_div " %><%= display_question_key_div(@page, question) %> > |
|
|
|
|
|
|
|
<% if question.read_only? %> |
|
|
|
|
|
|
|
<hr class="govuk-section-break govuk-section-break--visible govuk-section-break--m"> |
|
|
|
|
|
|
|
<% end %> |
|
|
|
<%= render partial: "form/#{question.type}_question", locals: { question: question, caption: @subsection.label, page_header: @page.header, f: f } %> |
|
|
|
<%= render partial: "form/#{question.type}_question", locals: { question: question, caption: @subsection.label, page_header: @page.header, f: f } %> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|