MadeTech Dushan
3 years ago
2 changed files with 15 additions and 11 deletions
@ -1,12 +1,16 @@ |
|||||||
<%= turbo_frame_tag "case_log_form", target: "_top" do %> |
<%= turbo_frame_tag "case_log_form", target: "_top" do %> |
||||||
<h1 class="govuk-heading-l">Check the answers you gave for household characteristics</h1> |
<div class="govuk-grid-row"> |
||||||
<%= display_answered_questions_summary(subsection_pages, case_log) %> |
<div class="govuk-grid-column-two-thirds-from-desktop"> |
||||||
<% subsection_pages.each do |page, page_info| %> |
<h1 class="govuk-heading-l">Check the answers you gave for <%= subsection %></h1> |
||||||
<% page_info["questions"].each do |question_title, question_info| %> |
<%= display_answered_questions_summary(subsection_pages, case_log) %> |
||||||
<%= render partial: 'form/check_answers_table', locals: { question_title: question_title, question_info: question_info, case_log: case_log } %> |
<% subsection_pages.each do |page, page_info| %> |
||||||
<%end %> |
<% page_info["questions"].each do |question_title, question_info| %> |
||||||
<% end %> |
<%= render partial: 'form/check_answers_table', locals: { question_title: question_title, question_info: question_info, case_log: case_log } %> |
||||||
<%= form_with action: '/case_logs', method: "next_page", builder: GOVUKDesignSystemFormBuilder::FormBuilder do |f| %> |
<%end %> |
||||||
<%= f.govuk_submit "Save and continue" %> |
<% end %> |
||||||
<% end %> |
<%= form_with action: '/case_logs', method: "next_page", builder: GOVUKDesignSystemFormBuilder::FormBuilder do |f| %> |
||||||
|
<%= f.govuk_submit "Save and continue" %> |
||||||
|
<% end %> |
||||||
|
</div> |
||||||
|
</div> |
||||||
<% end %> |
<% end %> |
||||||
|
Loading…
Reference in new issue