Files
notifications-admin/app/templates/views/user-profile/change.html
Chris Hill-Scott 79e0881a23 Don’t inherit directly from admin template
Pages that don’t have navigation shouldn’t extend the top-level admin
template directly.

They should extend `withoutnav_template.html` instead, because then they
get a wrapping `<main>` element, which is good semantically and for
accessibility, and also defaults the font size to `19px`.
2016-09-28 15:10:01 +01:00

32 lines
748 B
HTML

{% extends "withoutnav_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-large">Change your {{ thing }}</h1>
<div class="grid-row">
{% if preamble %}
<p>
{{ preamble }}
</p>
{% endif %}
<div class="column-three-quarters">
<form method="post">
{{ textbox(form_field, safe_error_message=True) }}
{{ page_footer(
'Save',
back_link=url_for('.user_profile'),
back_link_text="Back to your profile"
) }}
</form>
</div>
</div>
{% endblock %}