{% load bootstrap %}
{% if field|is_checkbox %}
{% elif field|is_multiple_checkbox %}
{% for f in field %}{{ f }} {% endfor %}
{% else %} {% if field.label %} {% endif %}
{% if field|is_radio %}
{% for f in field %}{{ f }} {% endfor %}
{% else %} {% ff field class="form-control" %} {% endif %}
{% endif %} {% for error in field.errors %}
{{ error }}
{% endfor %} {% if not field|is_multiple_checkbox and field.help_text %}
{{ field.help_text|safe }}
{% endif %}