moviewyrm/bookwyrm/templates/groups/delete_group_modal.html

21 lines
620 B
HTML
Raw Normal View History

{% extends 'components/modal.html' %}
2021-09-24 10:34:11 +00:00
{% load i18n %}
{% block modal-title %}{% trans "Delete this group?" %}{% endblock %}
{% block modal-body %}
{% trans "This action cannot be un-done" %}
{% endblock %}
{% block modal-footer %}
<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>
2021-12-31 01:29:06 +00:00
<button type="button" class="button" data-modal-close>{% trans "Cancel" %}</button>
</form>
2021-09-24 10:34:11 +00:00
{% endblock %}