{% load bootstrap %} {{ formset.non_form_errors.as_ul }}
{{ field.label|safe|capfirst }} | {% endif %} {% endfor %}1 |
---|---|
{% if forloop.first %} {{ form.non_field_errors }} {% for hidden in form.hidden_fields %}{{ hidden }}{% endfor %} {% endif %} {{ field.errors.as_ul }} {{ field | bootstrap }} | {% endif %} {% endfor %}