|
|
@ -1,6 +1,6 @@ |
|
|
|
<%= 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> |
|
|
|
<h1 class="govuk-heading-l">Check the answers you gave for household characteristics</h1> |
|
|
|
<p>You answered <%= get_answered_questions_total(subsection_pages, case_log) %> of <%= subsection_pages.count %> questions</p> |
|
|
|
<p>You answered <%= get_answered_questions_total(subsection_pages, case_log) %> of <%= get_total_number_of_questions(subsection_pages) %> questions</p> |
|
|
|
<%= create_next_missing_question_link(case_log["id"], subsection_pages, case_log) %> |
|
|
|
<%= create_next_missing_question_link(case_log["id"], subsection_pages, case_log) %> |
|
|
|
<% subsection_pages.each do |page, page_info| %> |
|
|
|
<% subsection_pages.each do |page, page_info| %> |
|
|
|
<% page_info["questions"].each do |question_title, question_info| %> |
|
|
|
<% page_info["questions"].each do |question_title, question_info| %> |
|
|
|