<% content_for :title, "Review lettings log" %> <% content_for :breadcrumbs, govuk_breadcrumbs(breadcrumbs: { "Logs" => "/logs", "Log #{@case_log.id.to_s}" => "/logs/" + @case_log.id.to_s, "Review lettings log" => "" }) %> <%= turbo_frame_tag "case_log_form", target: "_top" do %>

<%= content_for(:title) %>

<% @case_log.form.sections.map do |section| %>

<%= section.label %>

<% section.subsections.map do |subsection| %>

<%= subsection.label %>

<% subsection.applicable_questions(@case_log).each do |question| %> <%= render partial: 'form/check_answers_table', locals: { question: question, case_log: @case_log } %> <% end %>
<% end %> <% end %>
You can submit changes to this log until the close of the current collection year, 31 March 2022.
<%= form_with model: @case_log, url: form_case_log_path(@case_log), method: "post" do |f| %> <%= f.govuk_submit "Submit lettings log", accesskey: "s" %> <% end %>
<% end %>