Browse Source

Fix symbol string mismatch

pull/39/head
baarkerlounger 3 years ago
parent
commit
e1fbbc5a84
  1. 2
      app/views/form/page.html.erb

2
app/views/form/page.html.erb

@ -15,7 +15,7 @@
<%= f.govuk_error_summary %> <%= f.govuk_error_summary %>
<% page_info["questions"].map do |question_key, question| %> <% page_info["questions"].map do |question_key, question| %>
<div id=<%= question_key + "_div " %><%= display_question_key_div(page_info, question_key) %> > <div id=<%= question_key + "_div " %><%= 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 } %>
</div> </div>
<% end %> <% end %>

Loading…
Cancel
Save