|
|
@ -3,9 +3,11 @@ |
|
|
|
<div class="govuk-grid-column-three-quarters-from-desktop"> |
|
|
|
<div class="govuk-grid-column-three-quarters-from-desktop"> |
|
|
|
<h1 class="govuk-heading-l">Check the answers you gave for <%= subsection.humanize(capitalize: false) %></h1> |
|
|
|
<h1 class="govuk-heading-l">Check the answers you gave for <%= subsection.humanize(capitalize: false) %></h1> |
|
|
|
<%= display_answered_questions_summary(subsection, @case_log, form) %> |
|
|
|
<%= display_answered_questions_summary(subsection, @case_log, form) %> |
|
|
|
|
|
|
|
<dl class="govuk-summary-list govuk-!-margin-bottom-9"> |
|
|
|
<% total_questions(subsection, @case_log, form).each do |question_title, question_info| %> |
|
|
|
<% total_questions(subsection, @case_log, form).each do |question_title, question_info| %> |
|
|
|
<%= render partial: 'form/check_answers_table', locals: { question_title: question_title, question_info: question_info, case_log: @case_log, form: form } %> |
|
|
|
<%= render partial: 'form/check_answers_table', locals: { question_title: question_title, question_info: question_info, case_log: @case_log, form: form } %> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
|
|
|
|
</dl> |
|
|
|
<%= form_with model: @case_log, method: "get", builder: GOVUKDesignSystemFormBuilder::FormBuilder do |f| %> |
|
|
|
<%= form_with model: @case_log, method: "get", builder: GOVUKDesignSystemFormBuilder::FormBuilder do |f| %> |
|
|
|
<%= f.govuk_submit "Save and continue" %> |
|
|
|
<%= f.govuk_submit "Save and continue" %> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|