{% load nhsukfrontendforms_tags %}
{{ form.non_field_errors }}
{% for field in form.visible_fields %}
{% comment %}
Checkboxes have their labels more closely coupled with the input widget
{% endcomment %}
{% if not field|is_checkbox %}
{% if field.help_text %}
{{ field.help_text|safe }}
{% endif %}
{% endif %}
{% for error in field.errors %}
{{ error }}
{% endfor %}
{% if field|is_checkbox %}