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.
26 lines
1.0 KiB
26 lines
1.0 KiB
<% content_for :title, "#{subsection.id.humanize} - Check your answers" %> |
|
<% breadcrumbs = { "Logs" => "/logs", "Log" => "/logs/" + @case_log.id.to_s, subsection.label => "" } %> |
|
<% content_for :breadcrumbs, govuk_breadcrumbs(breadcrumbs: breadcrumbs) %> |
|
|
|
<%= 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"> |
|
<span class="govuk-caption-l"><%= subsection.label %></span> |
|
Check your answers |
|
</h1> |
|
|
|
<%= display_answered_questions_summary(subsection, @case_log) %> |
|
|
|
<dl class="govuk-summary-list govuk-!-margin-bottom-9"> |
|
<% subsection.applicable_questions(@case_log).each do |question| %> |
|
<%= render partial: 'form/check_answers_table', locals: { question: question, case_log: @case_log } %> |
|
<% end %> |
|
</dl> |
|
|
|
<%= form_with model: @case_log, method: "get" do |f| %> |
|
<%= f.govuk_submit "Save and continue" %> |
|
<% end %> |
|
</div> |
|
</div> |
|
<% end %>
|
|
|