Update all single field checkboxes

Includes adding some code to govukCheckboxesField
to add a single boolean-like option by default, if
there are no choices added.
This commit is contained in:
Tom Byers
2020-07-24 11:34:01 +01:00
parent 03240b21d5
commit c21f0940f9
10 changed files with 17 additions and 30 deletions
@@ -35,9 +35,7 @@
</p>
{{ page_footer('Save') }}
{% else %}
<div class="form-group">
{{ checkbox(form.is_default) }}
</div>
{{ form.is_default }}
{% if inbound_number %}
{{ page_footer('Save') }}
{% else %}