Files
notifications-admin/app/templates/views/service-settings/status.html
Chris Hill-Scott 4d10eec1e2 Rename submit_form component to page_footer
Submit form was
- a confusing name in itself
- not descriptive, because it also has an optional ‘back’ link

This commit also puts this component in as many pages as possible, stripping
out any hard-coded buttons and links.

It replaces any usage of buttons for ‘back’, because these are links, not
buttons (ie they don’t change any data).
2016-01-08 15:02:08 +00:00

38 lines
768 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{% extends "withnav_template.html" %}
{% from "components/page-footer.html" import page_footer %}
{% block page_title %}
GOV.UK Notify | Service settings
{% endblock %}
{% block maincolumn_content %}
<h1 class="heading-xlarge">Turn off outgoing messages</h1>
<div class="grid-row">
<div class="column-three-quarters">
<p>
Youll still be able to send messages to yourself by uploading a CSV
file.
</p>
<p>
You can start sending messages again when youre ready.
</p>
<form method="post">
{{ page_footer(
'Turn off outgoing messages',
destructive=True,
back_link=url_for('.service_settings')
) }}
</form>
</div>
</div>
{% endblock %}