2021-09-24 10:34:11 +00:00
|
|
|
{% extends 'components/modal.html' %}
|
|
|
|
{% load i18n %}
|
|
|
|
|
|
|
|
{% block modal-title %}{% trans "Delete this group?" %}{% endblock %}
|
|
|
|
|
|
|
|
{% block modal-body %}
|
|
|
|
{% trans "This action cannot be un-done" %}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block modal-footer %}
|
2021-10-16 06:35:36 +00:00
|
|
|
<form name="delete-group-{{ group.id }}" action="{% url 'delete-group' group.id %}" method="POST">
|
|
|
|
{% csrf_token %}
|
|
|
|
<input type="hidden" name="id" value="{{ group.id }}">
|
|
|
|
<button class="button is-danger" type="submit">
|
|
|
|
{% trans "Delete" %}
|
|
|
|
</button>
|
|
|
|
{% trans "Cancel" as button_text %}
|
|
|
|
{% include 'snippets/toggle/toggle_button.html' with text=button_text controls_text="delete_group" controls_uid=group.id %}
|
|
|
|
</form>
|
2021-09-24 10:34:11 +00:00
|
|
|
{% endblock %}
|
|
|
|
|