Tidy up inconsistencies in forms

Wherever possible, use the macros.
This commit is contained in:
Chris Hill-Scott
2016-02-01 16:40:04 +00:00
parent b5b13254c7
commit 9cf6dfa6f2
7 changed files with 32 additions and 29 deletions

View File

@@ -14,9 +14,7 @@ GOV.UK Notify | Create an account
<p>If you've used GOV.UK Notify before, <a href="{{ url_for('.sign_in') }}">sign in to your account</a>.</p>
<form autocomplete="off" action="" method="post">
{{ form.hidden_tag() }}
<form autocomplete="off" action="" method="post">
{{ textbox(form.name) }}
{{ textbox(form.email_address, hint="Your email address must end in .gov.uk") }}
{{ textbox(form.mobile_number) }}