{% extends "two_factor/_base_focus.html" %}
{% load i18n %}

{% block content %}
  <h1 class="title">{% block title %}{% trans "Add Backup Phone" %}{% endblock %}</h1>

  {% if wizard.steps.current == 'setup' %}
    <p class="subtitle">{% blocktrans trimmed %}You'll be adding a backup phone number to your
      account. This number will be used if your primary method of
      registration is not available.{% endblocktrans %}</p>
  {% elif wizard.steps.current == 'validation' %}
    <p class="subtitle">{% blocktrans trimmed %}We've sent a token to your phone number. Please
      enter the token you've received.{% endblocktrans %}</p>
  {% endif %}

  <form action="" method="post">{% csrf_token %}
    {% include "two_factor/_wizard_forms.html" %}

    {# hidden submit button to enable [enter] key #}
    <input type="submit" value="" style="display:none" />

    {% include "two_factor/_wizard_actions.html" %}
  </form>
{% endblock %}
