{% load crispy_forms_field %} {% if field.is_hidden %} {{ field }} {% else %}
{% spaceless %} {% if form_show_errors %} {% for error in field.errors %}

{{ error }}

{% endfor %} {% endif %} {% if field.label %} {% if field|is_checkbox %} {% crispy_field field %} {% endif %} {% endif %} {% if not field|is_checkbox %}
{% crispy_field field %}
{% endif %} {% if field.help_text %}

{{ field.help_text|safe }}

{% endif %} {% endspaceless %}
{% endif %}