{% load i18n %} {% if wizard.steps.current == 'token' %} {% trans "Login" as button_text %} {% elif wizard.steps.current == 'generator' %} {% trans "Enable Two-Factor Authentication" as button_text %} {% else %} {% trans "Next" as button_text %} {% endif %} {% if cancel_url %} {% trans "Cancel" %} {% endif %}