mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-05 08:31:00 -04:00
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).
44 lines
927 B
HTML
44 lines
927 B
HTML
{% extends "withnav_template.html" %}
|
||
{% from "components/page-footer.html" import page_footer %}
|
||
|
||
{% block page_title %}
|
||
GOV.UK Notify | Service settings
|
||
{% endblock %}
|
||
|
||
{% block maincolumn_content %}
|
||
|
||
<div class="grid-row">
|
||
<div class="column-three-quarters">
|
||
<h1 class="heading-xlarge">Delete service</h1>
|
||
|
||
<p>
|
||
This can’t be undone. You will lose:
|
||
</p>
|
||
|
||
<ul class="list list-bullet">
|
||
<li>
|
||
any data you’ve uploaded messages
|
||
</li>
|
||
<li>
|
||
any templates you’ve created
|
||
</li>
|
||
<li>
|
||
the history of
|
||
</li>
|
||
<li>
|
||
API keys
|
||
</li>
|
||
</ul>
|
||
|
||
<form method="post">
|
||
{{ page_footer(
|
||
'Yes, delete ‘{}’'.format(service.name),
|
||
destructive=True,
|
||
back_link=url_for('.service_settings')
|
||
) }}
|
||
</form>
|
||
|
||
</div>
|
||
</div>
|
||
{% endblock %}
|