{#- One form per action that runs on a record or on the view, and one dialog for each that asks something first. A row button fills in which record it is for, so the same form serves every row. -#} {% for item in single_actions %}
{% if item.needs_dialog %} {% endif %} {% endfor %} {% if single_actions %} {% endif %}