|
|
@ -5,7 +5,7 @@ |
|
|
|
<%= display_answered_questions_summary(subsection_pages, case_log) %> |
|
|
|
<%= display_answered_questions_summary(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| %> |
|
|
|
<%= render partial: 'form/check_answers_table', locals: { question_title: question_title, question_info: question_info, case_log: case_log } %> |
|
|
|
<%= render partial: 'form/check_answers_table', locals: { question_title: question_title, question_info: question_info, case_log: case_log, page: page } %> |
|
|
|
<%end %> |
|
|
|
<%end %> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
<%= form_with action: '/case_logs', method: "next_page", builder: GOVUKDesignSystemFormBuilder::FormBuilder do |f| %> |
|
|
|
<%= form_with action: '/case_logs', method: "next_page", builder: GOVUKDesignSystemFormBuilder::FormBuilder do |f| %> |
|
|
|