Convert all instances of autocomplete to off

`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
This commit is contained in:
Chris Hill-Scott
2017-02-23 15:26:09 +00:00
parent aad891d4ce
commit 54d38faad2
3 changed files with 3 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ Create an account
<div class="column-two-thirds">
<h1 class="heading-large">Create an account</h1>
<p>Your account will be created with this email: {{email_address}}</p>
<form method="post" autocomplete="nope">
<form method="post" autocomplete="off">
{{ textbox(form.name, width='3-4') }}
{{ textbox(form.mobile_number, width='3-4', hint='Well send you a security code by text message') }}
{{ textbox(form.password, hint="At least 8 characters", width='3-4') }}