mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-11 10:28:41 -04:00
Add confirm loop
For pages where - we want you to be sure that you want to do what you’re about to do - we want to be sure it’s you trying to do the thing This adds a page that asks the user to confirm their password.
This commit is contained in:
@@ -7,16 +7,37 @@
|
||||
|
||||
{% block maincolumn_content %}
|
||||
|
||||
<h1 class="heading-xlarge">Delete this service</h1>
|
||||
<div class="grid-row">
|
||||
<div class="column-three-quarters">
|
||||
<h1 class="heading-xlarge">Delete service</h1>
|
||||
|
||||
<p>
|
||||
All will be lost.
|
||||
</p>
|
||||
<p>
|
||||
This can’t be undone. You will lose:
|
||||
</p>
|
||||
|
||||
<form method="post">
|
||||
{{ submit_form('Delete', destructive=True) }}
|
||||
</form>
|
||||
<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>
|
||||
|
||||
<p><a href="{{ url_for('.service_settings') }}">Back to service settings</a></p>
|
||||
<form method="post">
|
||||
{{ submit_form(
|
||||
'Yes, delete ‘{}’'.format(service.name),
|
||||
destructive=True,
|
||||
back_link=url_for('.service_settings')
|
||||
) }}
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user