mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 07:46:23 -04:00
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.
This commit is contained in:
@@ -15,14 +15,16 @@ GOV.UK Notify | Confirm email address and mobile number
|
||||
<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) }}
|
||||
<p>
|
||||
<a href="{{ url_for('.check_and_resend_email_code')}}">I haven’t received an email</a>
|
||||
</p>
|
||||
{{ textbox(form.sms_code) }}
|
||||
<p>
|
||||
<a href="{{ url_for('.check_and_resend_text_code') }}">I haven’t received a text</a></span>
|
||||
</p>
|
||||
{{ 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>
|
||||
|
||||
Reference in New Issue
Block a user