Browse Source

Fix whether the box is checked or not

pull/82/head
baarkerlounger 4 years ago
parent
commit
a6cd385f47
  1. 3
      app/views/form/_validation_override_question.html.erb

3
app/views/form/_validation_override_question.html.erb

@ -8,7 +8,8 @@
hint: { text: "soft-validations-placeholder-hint-text" } do %>
<%= f.govuk_check_box page_info["soft_validations"]&.keys&.first, page_info["soft_validations"]&.keys&.first,
label: { text: "Yes" }
label: { text: "Yes" },
checked: @case_log[page_info["soft_validations"]&.keys&.first] == 1
%>
<% end %>
</div>

Loading…
Cancel
Save