Make two factor textbox consistent with verify textboxes

- make the field the same width (5em to match length of code)
- move ‘haven’t received…’ link underneath the textbox instead of underneath
  the button
This commit is contained in:
Chris Hill-Scott
2016-02-02 16:03:30 +00:00
parent 335cc160fa
commit 9767ee1511

View File

@@ -15,11 +15,14 @@ GOV.UK Notify | Text verification
<p>We've sent you a text message with a verification code.</p>
<form autocomplete="off" method="post">
{{ textbox(form.sms_code) }}
{{ textbox(
form.sms_code,
width='5em',
help_link=url_for('.verification_code_not_received'),
help_link_text='I havent received a text message'
) }}
{{ page_footer(
"Continue",
back_link=url_for('.verification_code_not_received'),
back_link_text='I havent received a text'
"Continue"
) }}
</form>
</div>