{{ formset.non_form_errors.as_ul }}
{{ field.label|capfirst }} | {% endfor %}
---|
{# Include the hidden fields in the form #} {% if forloop.first %} {% for hidden in form.hidden_fields %} {{ hidden }} {% endfor %} {% endif %} {{ field.errors.as_ul }} {{ field }} | {% endfor %}