<%= 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 <%= @case_log.collection_start_year.present? ? @case_log.collection_start_year + 1 : " of current collection end year" %>.