Tidy up inconsistencies in forms

Wherever possible, use the macros.
This commit is contained in:
Chris Hill-Scott
2016-02-01 16:55:46 +00:00
parent b5b13254c7
commit 9cf6dfa6f2
7 changed files with 32 additions and 29 deletions
+13 -9
View File
@@ -11,16 +11,20 @@ GOV.UK Notify
<div class="grid-row">
<div class="column-two-thirds">
{% if user %}
<h1 class="heading-xlarge">Create a new password</h1>
<p> You can now create a new password for your account.</p>
<form method="post" autocomplete="off">
{{ textbox(form.new_password, hint="Your password must have at least 10 characters") }}
{{ page_footer("Continue") }}
</form>
<h1 class="heading-xlarge">
Create a new password
</h1>
<p>
You can now create a new password for your account.
</p>
<form method="post" autocomplete="off">
{{ textbox(form.new_password, hint="Your password must have at least 10 characters") }}
{{ page_footer("Continue") }}
</form>
{% else %}
Message about email address does not exist. Some one needs to figure out the words here.
<p>
Message about email address does not exist. Some one needs to figure out the words here.
</p>
{% endif %}
</div>
</div>