<%= content_for(:title) %>
<% @case_log.form.sections.map do |section| %>
<%= section.label %>
<% section.subsections.map do |subsection| %>
<% 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 %>