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