You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
1.0 KiB
18 lines
1.0 KiB
<%= turbo_frame_tag "case_log_form", target: "_top" do %> |
|
<div class="govuk-grid-row"> |
|
<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> |
|
<%= display_answered_questions_summary(subsection, @case_log, form) %> |
|
<% form.pages_for_subsection(subsection).each do |page, page_info| %> |
|
<% page_info["questions"].each do |question_title, question_info| %> |
|
<% if total_questions(subsection, @case_log, form).include?(question_title) %> |
|
<%= render partial: 'form/check_answers_table', locals: { question_title: question_title, question_info: question_info, case_log: @case_log, page: page, form: form } %> |
|
<%end %> |
|
<%end %> |
|
<% end %> |
|
<%= form_with model: @case_log, method: "get", builder: GOVUKDesignSystemFormBuilder::FormBuilder do |f| %> |
|
<%= f.govuk_submit "Save and continue" %> |
|
<% end %> |
|
</div> |
|
</div> |
|
<% end %>
|
|
|