{% comment %}Renders the given bound fields, each with its label and own errors. Expected context: fields.{% endcomment %} {% for field in fields %}
{% if field.field.widget.input_type == 'checkbox' %} {{ field }} {{ field.label_tag }} {% else %} {{ field.label_tag }} {{ field }} {% endif %} {% for error in field.errors %}

{{ error }}

{% endfor %}
{% endfor %}