Commit 06ced4d2 authored by Samuel GAIST's avatar Samuel GAIST

[templates][two_factor] Add custom wizard actions template

Do not show any back button rather than showing it disabled.
It makes the logic clearer.
parent 9b299544
{% load i18n %}
{% if cancel_url %}
<a href="{{ cancel_url }}"
class="pull-right btn btn-link">{% trans "Cancel" %}</a>
{% endif %}
{% if wizard.steps.prev %}
<button name="wizard_goto_step" type="submit"
value="{{ wizard.steps.prev }}"
class="btn btn-default">{% trans "Back" %}</button>
{% endif %}
<button type="submit" class="btn btn-primary">{% trans "Next" %}</button>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment