<% class_name = @log.class.model_name.human.downcase %> <% content_for :title, "Review #{class_name}" %> <% review_breadcrumbs(@log) %>

<%= 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 %>