Files
notifications-admin/app/templates/views/verify.html
Adam Shimali 164bdad4f2 Change new invite registration flow to only need
sms for verification.

This may change again soon with story to split 2 factor
pages, but for now is correct.
2016-03-14 09:43:34 +00:00

54 lines
1.5 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{% extends "withoutnav_template.html" %}
{% from "components/textbox.html" import textbox %}
{% from "components/page-footer.html" import page_footer %}
{% block page_title %}
{% if form.email_code %}
Enter the codes weve sent you GOV.UK Notify
{% else %}
Enter the code weve sent you GOV.UK Notify
{% endif %}
{% endblock %}
{% block maincolumn_content %}
<div class="grid-row">
<div class="column-two-thirds">
{% if form.email_code %}
<h1 class="heading-large">Enter the codes weve sent you</h1>
{% else %}
<h1 class="heading-large">Enter the code weve sent you</h1>
{% endif %}
{% if form.email_code %}
<p>
Weve sent you confirmation codes by email and text message.
</p>
{% else %}
<p>
Weve sent you a confirmation code by text message.
</p>
{% endif %}
<form autocomplete="off" method="post">
{% if form.sms_code %}
{{ textbox(
form.sms_code,
width='5em',
help_link=url_for('.check_and_resend_text_code'),
help_link_text='I havent received a text message'
) }}
{% endif %}
{% if form.email_code %}
{{ textbox(
form.email_code,
width='5em',
help_link=url_for('.check_and_resend_email_code'),
help_link_text='I havent received an email'
) }}
{% endif %}
{{ page_footer("Continue") }}
</form>
</div>
</div>
{% endblock %}