{# This is a snippet, include it from somewhere else to get single field in a bootstrap friendly way#} {# Usage: {% include "boostrap_field.html" with field=my_field %} #} {% if field.label %}
{{ field }} {% for err in field.errors %}

{{ err }}

{% endfor %} {% if field.help_text %} {% endif %}
{% else %}

ERROR! You tried to include nonexisting field

{% endif %}