{% if field.is_hidden %} {{ field }} {% elif field_type == 'checkbox' %}
{% include "bootstrap3/help_text_and_errors.html" %}
{% elif field_type == 'multi_checkbox' %}
{% if field.label %} {{ field.label }} {% endif %} {% for choice in field %}
{% endfor %} {% include "bootstrap3/help_text_and_errors.html" %}
{% elif field_type == 'radio' %}
{% if field.label %} {{ field.label }} {% endif %} {% for choice in field %}
{% endfor %} {% include "bootstrap3/help_text_and_errors.html" %}
{% else %}
{% if field.label %} {% endif %} {% if prepend or append %}
{% if prepend %} {{ prepend|safe }} {% endif %} {{ field }} {% if append %} {{ append|safe }} {% endif %}
{% else %} {{ field }} {% endif %} {% include "bootstrap3/help_text_and_errors.html" %}
{% endif %}