From e1fbbc5a84bb7a3d50907c76a6e9be2c530af231 Mon Sep 17 00:00:00 2001 From: baarkerlounger Date: Fri, 8 Oct 2021 14:34:35 +0100 Subject: [PATCH] Fix symbol string mismatch --- app/views/form/page.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/form/page.html.erb b/app/views/form/page.html.erb index 2bca4d982..64123b540 100644 --- a/app/views/form/page.html.erb +++ b/app/views/form/page.html.erb @@ -15,7 +15,7 @@ <%= f.govuk_error_summary %> <% page_info["questions"].map do |question_key, question| %>
<%= display_question_key_div(page_info, question_key) %> > - <%= render partial: "form/#{question["type"]}_question", locals: { question_key: question_key, question: question, f: f } %> + <%= render partial: "form/#{question["type"]}_question", locals: { question_key: question_key.to_sym, question: question, f: f } %>
<% end %>