<%= content_for(:title) %>
<%= review_log_info_text(@log) %>
<% @log.form.sections.map do |section| %>
<%= section.label %>
<% section.subsections.map do |subsection| %>
<% if total_applicable_questions(subsection, @log, current_user).any? %>
<%= subsection.label %>
<%= render partial: "form/check_answers_summary_list", locals: {
subsection:,
questions: total_applicable_questions(subsection, @log, current_user),
referrer: "check_answers",
referrer_unanswered: "check_answers_new_answer",
} %>
<% end %>
<% end %>
<% end %>