{#- The values an action asks for, in its dialog, spaced as the form's fields are. The fields of a dataclass it asks for sit together under the group's heading. -#} {% if action_rows[item.name] %}
{% for row in action_rows[item.name] %} {% if row.group and (loop.first or loop.previtem.group != row.group) %}
{{ row.group }} {% endif %} {% include "adminsite/_field.html" %} {% if row.group and (loop.last or loop.nextitem.group != row.group) %}
{% endif %} {% endfor %}
{% endif %}