1
0
Fork 0
canaille-globuzma/canaille/templates/oidc/modals/delete-client.html
Éloi Rivard fe8929d992
refactor: move templates in a common directory
without this, theming was broken because it needs one single directory
for templates.
2024-12-19 00:17:03 +01:00

26 lines
1.2 KiB
HTML

{% extends theme('base.html') %}
{% block content %}
<div class="ui warning message">
<form method="post" action="{{ request.url }}">
<input type="hidden" name="csrf_token" value="{{ request.form.get("csrf_token") }}">
<div class="ui icon header">
<i class="trash icon"></i>
{% trans %}Client deletion{% endtrans %}
</div>
<div class="content">
<p>
{% trans client_name=client.client_name %}
Are you sure you want to delete the client {{ client_name }}? This action is unrevokable and all the data about this client will be removed.
{% endtrans %}
</p>
</div>
<div class="ui center aligned container">
<div class="ui stackable buttons">
<a href="{{ request.url }}" class="ui cancel button">{% trans %}Cancel{% endtrans %}</a>
<button name="action" value="delete" class="ui red approve button">{% trans %}Delete{% endtrans %}</button>
</div>
</div>
</form>
</div>
{% endblock %}