{% extends "sentry/bases/twofactor_settings.html" %} {% load crispy_forms_tags %} {% load i18n %} {% load sentry_helpers %} {% block twofactor_title %}{% trans "Enrollment: " %} {{ auth.name }}{% endblock %} {% block twofactor_body %}

To enroll use an application on your phone to get two-factor authentication codes when prompted. Enter your phone number and then provide the confirmation code we send you to active it.

{% if stage == 'initial' or stage == 'pick_number' %} {{ sms_form|as_crispy_errors }} {% for field in sms_form %} {{ field|as_crispy_field }} {% endfor %} {% elif stage == 'confirm' %}

Sent confirmation code to {{ auth.phone_number }}:

{{ otp_form|as_crispy_errors }} {% for field in otp_form %} {{ field|as_crispy_field }} {% endfor %}

Wrong number? Start over. {% endif %}

{% csrf_token %}
{% trans "Cancel" %} {% if not auth.phone_number %} {% else %} {% endif %}
{% endblock %}