<% content_for :title, "Review lettings log" %> <% content_for :breadcrumbs, govuk_breadcrumbs(breadcrumbs: { "Logs" => "/logs", "Log #{@case_log.id}" => "/logs/#{@case_log.id}", "Review lettings log" => "", }) %>

<%= content_for(:title) %>

You can review and make changes to this log until 2nd June <%= @case_log.collection_start_year.present? ? @case_log.collection_start_year + 1 : "" %>.

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

<%= section.label %>

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

<%= subsection.label %>

<%= render partial: "form/check_answers_summary_list", locals: { subsection:, case_log: @case_log, } %>
<% end %> <% end %>