<%= 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? %>
<%= render partial: "form/check_answers_summary_list", locals: { subsection:, questions: total_applicable_questions(subsection, @log, current_user), referrer: "check_answers" } %>
<% end %>
<% end %>
<% end %>