Add endpoints for forgot-password.

This commit is contained in:
Rebecca Law
2016-01-04 14:00:39 +00:00
parent 567ac123e3
commit 6696426dbc
10 changed files with 145 additions and 11 deletions

View File

@@ -12,15 +12,17 @@ GOV.UK Notify
<p>If you have forgotten your password, we can send you an email to create a new password.</p>
<p>
<label class="form-label" for="email">Email address</label>
<input class="form-control" id="email" type="text" value="">
<form autocomplete="off" action="" method="post">
{{ form.hidden_tag() }}
<p>
<label class="form-label">Email address </label>
{{ form.email_address(class="form-control-2-3", autocomplete="off") }} <br>
<span class="font-xsmall">Your email address must end in .gov.uk</span>
</p>
<p>
<a class="button" href="sign-in" role="button">Send email</a>
<button class="button" href="sign-in" role="button">Send email</button>
</p>
</form>
</div>
</div>

View File

@@ -0,0 +1,18 @@
{% extends "admin_template.html" %}
{% block page_title %}
GOV.UK Notify |
{% endblock %}
{% block content %}
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-xlarge">GOV.UK Notify</h1>
<p>You have been sent an email containing a url to reset your password.</p>
</div>
</div>
{% endblock %}