{# -*- mode: jinja2 -*- #} {# cf. django-bootstrap-form/bootstrapform/templates/bootstrapform #} {{ formset.management_form }} {% for form in formset %} {% if classes.label == 'sr-only' %}
{% include "bootstrapform/form.html" %}
{%else%} {% include "bootstrapform/form.html" %} {% endif %} {% endfor %}