{% if is_checkbox %}
{{ field }} {{ field.label }}
{% else %}
{{ label }} {% if required %} * {% endif %}
{{ field }} {% for error in field.errors %} {{ error }} {% endfor %} {% if field.help_text %} {{ field.help_text|safe }} {% endif %}
{% endif %}