Files
notifications-admin/app/templates/views/verify.html
Chris Hill-Scott 71fd7f98a7 Reduce spacing between textbox and ‘I have’t rec…’
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.
2016-02-02 15:59:41 +00:00

34 lines
961 B
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 %}
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>Weve 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 havent received an email'
) }}
{{ textbox(
form.sms_code,
help_link=url_for('.check_and_resend_text_code'),
help_link_text='I havent received a text'
) }}
{{ page_footer("Continue") }}
</form>
</div>
</div>
{% endblock %}