Merge pull request #1544 from alphagov/remove-html-validation

Remove HTML5 validation
This commit is contained in:
Chris Hill-Scott
2017-10-17 17:06:52 +01:00
committed by GitHub
8 changed files with 8 additions and 8 deletions

View File

@@ -42,7 +42,7 @@
are included in the whitelist automatically.
</p>
<form method="post">
<form method="post" autocomplete="off" novalidate>
<div class="grid-row">
<div class="column-two-thirds">

View File

@@ -14,7 +14,7 @@ Create a new password
<p>Well send you an email to create a new password.</p>
<form autocomplete="off" method="post">
<form autocomplete="off" method="post" novalidate>
{{ textbox(form.email_address, safe_error_message=True) }}
{{ page_footer("Send email") }}
</form>

View File

@@ -14,7 +14,7 @@
</h1>
<div class="grid-row">
<form method="post" class="column-three-quarters">
<form method="post" class="column-three-quarters" novalidate>
{{ textbox(form.email_address, width='1-1', safe_error_message=True) }}

View File

@@ -14,7 +14,7 @@
{{ page_title }}
</h1>
<form method="post" class="js-stick-at-top-when-scrolling" data-module="autofocus" autocomplete="off">
<form method="post" class="js-stick-at-top-when-scrolling" data-module="autofocus" autocomplete="off" novalidate>
<div class="grid-row">
<div class="column-two-thirds">
{{ textbox(

View File

@@ -30,7 +30,7 @@
</p>
{% endif %}
<form method="post" autocomplete="off">
<form method="post" autocomplete="off" novalidate>
{{ textbox(form.email_address) }}
{{ textbox(form.password) }}
{{ page_footer("Continue", secondary_link=url_for('.forgot_password'), secondary_link_text="Forgot your password?") }}

View File

@@ -20,7 +20,7 @@
page to see if there are any known issues with GOV.UK Notify.
</p>
</div>
<form method="post">
<form method="post" autocomplete="off" novalidate>
{{ textbox(form.feedback, width='1-1', hint='', rows=10) }}
{% if not current_user.is_authenticated %}
{{ textbox(form.name, width='1-1') }}

View File

@@ -13,7 +13,7 @@
</h1>
<div class="grid-row">
<div class="column-two-thirds">
<form method="post">
<form method="post" autocomplete="off" novalidate>
{{ textbox(form.feedback, width='1-1', hint='', rows=10) }}
{% if not current_user.is_authenticated %}
<h3 class="heading-medium">Do you want a reply?</h3>

View File

@@ -17,7 +17,7 @@
</p>
{% endif %}
<div class="column-three-quarters">
<form method="post">
<form method="post" autocomplete="off" novalidate>
{{ textbox(form_field, safe_error_message=True) }}
{{ page_footer(
'Save',