Files
notifications-admin/app/templates/views/user-profile/change-password.html
Chris Hill-Scott 0fc927b458 Review usage of secondary/back links
This commit examines all the pages that use the page footer component, and
determines whether they should have a back button, a secondary link, both or
neither.
2016-02-05 10:43:49 +00:00

28 lines
690 B
HTML

{% extends "admin_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 fullwidth_content %}
<h1 class="heading-large">Change your password</h1>
<div class="grid-row">
<div class="column-three-quarters">
<form method="post">
{{ textbox(form.old_password) }}
{{ textbox(form.new_password) }}
{{ page_footer(
'Save',
secondary_link=url_for('.user_profile'),
secondary_link_text="Back to your profile"
) }}
</form>
</div>
</div>
{% endblock %}