<% content_for :title, "#{subsection.id.humanize} - Check your answers" %> <%= turbo_frame_tag "case_log_form", target: "_top" do %>
<% breadcrumbs = { "Logs" => "/logs", "Log" => "/logs/" + @case_log.id.to_s, subsection.id.humanize => "" } %> <%= govuk_breadcrumbs(breadcrumbs: breadcrumbs) %>

<%= subsection.id.humanize %> Check your answers

<%= display_answered_questions_summary(subsection, @case_log) %>
<% subsection.applicable_questions(@case_log).each do |question| %> <%= render partial: 'form/check_answers_table', locals: { question: question, case_log: @case_log } %> <% end %>
<%= form_with model: @case_log, method: "get" do |f| %> <%= f.govuk_submit "Save and continue" %> <% end %>
<% end %>