{% load forms %}
{% if field|is_checkbox %} {% if style == 'horizontal' %}
{% endif %}
{% if field.errors %}

{{ field.errors|join:' ' }}

{% endif %} {% if field.help_text %}
{{ field.help_text|safe|linebreaks }}
{% endif %} {% if style == 'horizontal' %}
{% endif %} {% else %} {% if style == 'horizontal' %}
{% endif %} {% if field|is_clearable_filefield %} {% else %} {{ field|bootstrapped }} {% endif %} {% if field.errors %}

{{ field.errors|join:' ' }}

{% endif %} {% if field.help_text %}
{{ field.help_text|safe|linebreaks }}
{% endif %} {% if style == 'horizontal' %}
{% endif %} {% endif %}