mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
rename two_factor to two_factor_sms
it's a bit confusing now that there are three endpoints. the other two are already renamed two_factor_email and two_factor_webauthn
This commit is contained in:
31
app/templates/views/two-factor-sms.html
Normal file
31
app/templates/views/two-factor-sms.html
Normal file
@@ -0,0 +1,31 @@
|
||||
{% extends "withoutnav_template.html" %}
|
||||
{% from "components/page-footer.html" import page_footer %}
|
||||
{% from "components/form.html" import form_wrapper %}
|
||||
|
||||
{% block per_page_title %}
|
||||
Text verification
|
||||
{% endblock %}
|
||||
|
||||
{% block maincolumn_content %}
|
||||
|
||||
<div class="govuk-grid-row">
|
||||
<div class="govuk-grid-column-two-thirds">
|
||||
<h1 class="heading-large">Check your phone</h1>
|
||||
|
||||
<p class="govuk-body">We’ve sent you a text message with a security code.</p>
|
||||
|
||||
{% call form_wrapper(class="extra-tracking") %}
|
||||
{{ form.sms_code(param_extensions={
|
||||
"classes": "govuk-input govuk-input--width-5",
|
||||
"attributes": {"data-module": "autofocus"}
|
||||
}) }}
|
||||
{{ page_footer(
|
||||
"Continue",
|
||||
secondary_link=url_for('main.check_and_resend_text_code', next=redirect_url),
|
||||
secondary_link_text='Not received a text message?'
|
||||
) }}
|
||||
{% endcall %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user