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

Loading…
Cancel
Save