{% load firstof from future %} {% if wrap != 0 %}
{% csrf_token %} {% endif %} {% include "_bootstrap_form_horizontal_non_field_errors.html" %} {% for field in form %} {% include "_bootstrap_form_horizontal_field.html" %} {% endfor %} {% if submit %}
{% endif %} {% if wrap != 0 %}
{% endif %}