From c655b918a3039b085c3ad0eef79222907cf304f9 Mon Sep 17 00:00:00 2001 From: baarkerlounger Date: Fri, 24 Sep 2021 10:46:21 +0100 Subject: [PATCH] Add page header --- app/views/form/page.html.erb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/views/form/page.html.erb b/app/views/form/page.html.erb index 92af9b5d1..973ad6ca9 100644 --- a/app/views/form/page.html.erb +++ b/app/views/form/page.html.erb @@ -6,6 +6,9 @@ <% end %> <%= turbo_frame_tag "case_log_form", target: "_top" do %> +

+ <%= page_info["header"] %> +

<%= form_with action: '/case_logs', method: "next_page", builder: GOVUKDesignSystemFormBuilder::FormBuilder do |f| %> <% page_info["questions"].map do |question_key, question| %> <%= render partial: "form/#{question["type"]}_question", locals: { case_log_id: case_log_id, question_key: question_key, question: question, f: f } %>