{% load common_filters %} {% load common_form_filters %} {% load i18n %} {% trans "Add" as default_add_text %}
{{ formset.management_form }} {% if formset.label %} {{ formset.label }} {% endif %}
{% for form in formset %} {% include "common/form/fields.html" %} {% endfor %}
{% if formset.empty_template_name %} {% include formset.empty_template_name %} {% endif %}
{% comment %} Same min and max should mean a static amount. {% endcomment %} {% if formset|get_formset_value:can_add|default_if_none:True and formset.min_num != formset.max_num %}
{% endif %}