{# Back / Next (or Finish). Both post the whole form, so values survive going back. #}
{% if step > 1 %} {% else %} {% endif %} {% if is_last and wizard.finish_actions_meta %} {# Several ways to finish. The action rides in the URL, not the form, so it never becomes carried-forward state on a validation re-render. Every button in the step is disabled while one is in flight — with two ways to save, "this" would leave the other one clickable. #}
{% for action in wizard.finish_actions_meta %} {% endfor %}
{% elif is_last %} {% else %} {% endif %}