Add confirmation of password for important changes

This commit adds an extra page or field for confirming your current password
when making important changes

Name                 | Email address     | Mobile number     | Password
---------------------|-------------------|-------------------|------------
No password required | As second page    | As second page    | On same page as new password
This commit is contained in:
Chris Hill-Scott
2016-01-12 11:25:46 +00:00
parent df79dc69f6
commit c94ac4266c
6 changed files with 129 additions and 10 deletions

View File

@@ -0,0 +1,26 @@
{% extends "withnav_template.html" %}
{% from "components/textbox.html" import textbox %}
{% from "components/page-footer.html" import page_footer %}
{% block page_title %}
GOV.UK Notify | Service settings
{% endblock %}
{% block maincolumn_content %}
<h1 class="heading-xlarge">Change your {{ thing }}</h1>
<div class="grid-row">
<div class="column-three-quarters">
<form method="post">
{{ textbox(form.password) }}
{{ page_footer(
'Confirm',
back_link=back_link
) }}
</form>
</div>
</div>
{% endblock %}