From 54d38faad20c901ee31292d903ddfc902364db9d Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Thu, 23 Feb 2017 15:26:09 +0000 Subject: [PATCH] Convert all instances of autocomplete to `off` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `on` or `off` are the only valid values. > The attribute, if present, must have a value that is an ASCII > case-insensitive match for the string "off", or a single token that > is an ASCII case-insensitive match for the string "on" – https://www.w3.org/TR/html5/forms.html#autofilling-form-controls:-the-autocomplete-attribute --- app/templates/views/register-from-invite.html | 2 +- app/templates/views/register.html | 2 +- app/templates/views/signin.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/templates/views/register-from-invite.html b/app/templates/views/register-from-invite.html index d1f967ff1..fa9acbd99 100644 --- a/app/templates/views/register-from-invite.html +++ b/app/templates/views/register-from-invite.html @@ -12,7 +12,7 @@ Create an account

Create an account

Your account will be created with this email: {{email_address}}

-
+ {{ textbox(form.name, width='3-4') }} {{ textbox(form.mobile_number, width='3-4', hint='We’ll send you a security code by text message') }} {{ textbox(form.password, hint="At least 8 characters", width='3-4') }} diff --git a/app/templates/views/register.html b/app/templates/views/register.html index cd532bea0..cf1a20a34 100644 --- a/app/templates/views/register.html +++ b/app/templates/views/register.html @@ -11,7 +11,7 @@ Create an account

Create an account

- + {{ textbox(form.name, width='3-4') }} {{ textbox(form.email_address, hint="Must be from a central government organisation", width='3-4', safe_error_message=True) }} {{ textbox(form.mobile_number, width='3-4', hint='We’ll send you a security code by text message') }} diff --git a/app/templates/views/signin.html b/app/templates/views/signin.html index 5e7ab5c8f..ae7113fdc 100644 --- a/app/templates/views/signin.html +++ b/app/templates/views/signin.html @@ -24,7 +24,7 @@

{% endif %} - + {{ textbox(form.email_address) }} {{ textbox(form.password) }} {{ page_footer("Continue", secondary_link=url_for('.forgot_password'), secondary_link_text="Forgot your password?") }}