{{ formset.management_form }} {% for form in formset %} {% if classes.label == 'sr-only' %}
{% include "bootstrapform/form.html" with form=form %}
{%else%} {% include "bootstrapform/form.html" with form=form %} {% endif %} {% endfor %}