{% load crispy_forms_utils %} {% specialspaceless %} {{ form.media }} {% if form_show_errors %} {% include "bootstrap/errors.html" %} {% endif %} {% for field in form %} {% include "bootstrap/field.html" %} {% endfor %} {% endspecialspaceless %}