{% load i18n l10n %} {% comment %} One role's contributor set, drawn here rather than by because a row holds more than the packaged row can: a person-or-organisation switch, the rarer name parts in a dialog, and buttons that move a row up or down. Adding and removing rows is the packaged behaviour, through the same mvpFormset and mvpFormsetRow components, so a removed row is hidden and still posts its DELETE flag. A row's position is its place in the list: every ORDER input is rewritten from the order on screen whenever a row moves, and again as the form is sent. {% endcomment %}
{% if formset.non_form_errors %} {{ formset.non_form_errors }} {% endif %} {{ formset.management_form.INITIAL_FORMS }} {{ formset.management_form.MIN_NUM_FORMS }} {{ formset.management_form.MAX_NUM_FORMS }} {% if formset.forms %} {% endif %} {% for form in formset.forms %} {% include "literature/ui/item_form_contributor_row.html" %} {% endfor %}