{# 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 %} #} {% load i18n %} {% if field.label %}
{{ field }} {% for err in field.errors %}

{{ err }}

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

{% trans "ERROR! You tried to include nonexisting field" %}

{% endif %}