{% load i18n %}

<div class="buttons">
  {% if cancel_url %}
    <a href="{{ cancel_url }}"
       class="button">{% trans "Cancel" %}</a>
  {% endif %}
  {% if wizard.steps.prev %}
    <button name="wizard_goto_step" type="submit"
            value="{{ wizard.steps.prev }}"
            class="button">{% trans "Back" %}</button>
  {% else %}
    <button disabled name="" type="button" class="button">{% trans "Back" %}</button>
  {% endif %}
  <button type="submit" class="button">{% trans "Next" %}</button>
</div>