|
|
@ -17,7 +17,12 @@ |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
<%= display_answered_questions_summary(subsection, @case_log, current_user) %> |
|
|
|
<%= display_answered_questions_summary(subsection, @case_log, current_user) %> |
|
|
|
|
|
|
|
|
|
|
|
<%= render CheckAnswersSummaryListCardComponent.new(questions: subsection.applicable_questions(@case_log), case_log: @case_log, user: current_user) %> |
|
|
|
<% subsection.applicable_questions(@case_log).group_by(&:check_answers_card_number).values.each do |question_group| %> |
|
|
|
|
|
|
|
<%= render CheckAnswersSummaryListCardComponent.new(questions: question_group, case_log: @case_log, user: current_user) %> |
|
|
|
|
|
|
|
<br /> |
|
|
|
|
|
|
|
<br /> |
|
|
|
|
|
|
|
<br /> |
|
|
|
|
|
|
|
<% end %> |
|
|
|
|
|
|
|
|
|
|
|
<%= form_with model: @case_log, method: "get" do |f| %> |
|
|
|
<%= form_with model: @case_log, method: "get" do |f| %> |
|
|
|
<%= f.govuk_submit "Save and return to log" do %> |
|
|
|
<%= f.govuk_submit "Save and return to log" do %> |
|
|
|