{% load i18n %}
{% csrf_token %}
{% if formset.errors %} {% include "components/form-errors.html" with errors=formset.non_form_errors %} {% endif %} {{ formset.management_form }} {% for form in formset %} {% include "components/form-main.html" %} {% endfor %}