mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
The grouping on this page was weird because these links were two far away from the associated textbox, and too close to the next textbox. This commit adds them as parameters to the textbox macro, which means their relative spacing can be controlled exactly, and thus reduced.
34 lines
961 B
HTML
34 lines
961 B
HTML
{% extends "withoutnav_template.html" %}
|
||
{% from "components/textbox.html" import textbox %}
|
||
{% from "components/page-footer.html" import page_footer %}
|
||
|
||
{% block page_title %}
|
||
GOV.UK Notify | Confirm email address and mobile number
|
||
{% endblock %}
|
||
|
||
{% block maincolumn_content %}
|
||
|
||
<div class="grid-row">
|
||
<div class="column-two-thirds">
|
||
<h1 class="heading-large">Activate your account</h1>
|
||
|
||
<p>We’ve sent you confirmation codes by email and text message. You need to enter both codes here.</p>
|
||
|
||
<form autocomplete="off" method="post">
|
||
{{ textbox(
|
||
form.email_code,
|
||
help_link=url_for('.check_and_resend_email_code'),
|
||
help_link_text='I haven’t received an email'
|
||
) }}
|
||
{{ textbox(
|
||
form.sms_code,
|
||
help_link=url_for('.check_and_resend_text_code'),
|
||
help_link_text='I haven’t received a text'
|
||
) }}
|
||
{{ page_footer("Continue") }}
|
||
</form>
|
||
</div>
|
||
</div>
|
||
|
||
{% endblock %}
|