%= turbo_frame_tag "case_log_form", target: "_top" do %>
Check the answers you gave for household characteristics
<% subsection_pages.each do |page, page_info| %>
-
<%= page_info["check_answer_label"].to_s %>
-
-
<%= case_log[page] %>
-
<% if case_log[page].blank? %>
<%= link_to "Answer", "/case_logs/#{case_log_id}/#{page}", class: "govuk-link" %>
<% else %>
<%= link_to "Change", "/case_logs/#{case_log_id}/#{page}", class: "govuk-link" %>
<% end %>
<% end %>
<%= form_with action: '/case_logs', method: "next_page", builder: GOVUKDesignSystemFormBuilder::FormBuilder do |f| %>
<%= f.govuk_submit "Save and continue" %>
<% end %>
<% end %>