% content_for :head do %> <% end %> <% content_for :title, @page.header.present? ? @page.header : @page.questions.first().header.html_safe %> <% content_for :before_content do %> <%= govuk_back_link( text: 'Back', href: 'javascript:history.back()', ) %> <% end %>
<%= turbo_frame_tag "case_log_form", target: "_top" do %> <%= form_with model: @case_log, url: form_case_log_path(@case_log), method: "post" do |f| %><%= @page.description.html_safe %>
<% end %> <% @page.non_conditional_questions.map do |question| %>