Use valid HTML value for autocomplete attribute

We had a valid reason for setting this to `nope` (see
2124821e00). But it’s not valid HTML, so
got us a fail in the accessibility audit.
This commit is contained in:
Chris Hill-Scott
2017-02-13 11:49:00 +00:00
parent 01fdd1d034
commit 8d116aaae3

View File

@@ -11,7 +11,7 @@ Create an account
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-large">Create an account</h1>
<form method="post" autocomplete="nope" novalidate>
<form method="post" autocomplete="no" novalidate>
{{ 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='Well send you a security code by text message') }}