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