From 9767ee15119bda6c62fd8c1305fb4ff817c5c7cb Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Tue, 2 Feb 2016 16:03:30 +0000 Subject: [PATCH] Make two factor textbox consistent with verify textboxes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- app/templates/views/two-factor.html | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/app/templates/views/two-factor.html b/app/templates/views/two-factor.html index cfcd86d89..cc9eda642 100644 --- a/app/templates/views/two-factor.html +++ b/app/templates/views/two-factor.html @@ -15,11 +15,14 @@ GOV.UK Notify | Text verification

We've sent you a text message with a verification code.

- {{ textbox(form.sms_code) }} + {{ textbox( + form.sms_code, + width='5em', + help_link=url_for('.verification_code_not_received'), + help_link_text='I haven’t received a text message' + ) }} {{ page_footer( - "Continue", - back_link=url_for('.verification_code_not_received'), - back_link_text='I haven’t received a text' + "Continue" ) }}