Browse Source

All checkboxes are integers now

pull/82/head
baarkerlounger 4 years ago
parent
commit
b5434ad0ed
  1. 2
      app/views/form/_checkbox_question.html.erb

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

@ -8,7 +8,7 @@
<% else %> <% else %>
<%= f.govuk_check_box question_key, key, <%= f.govuk_check_box question_key, key,
label: { text: val }, label: { text: val },
checked: @case_log[key] == "Yes", checked: @case_log[key] == 1,
**stimulus_html_attributes(question) **stimulus_html_attributes(question)
%> %>
<% end %> <% end %>

Loading…
Cancel
Save