2021-12-31 03:19:55 +00:00
|
|
|
{% extends 'components/modal.html' %}
|
2021-09-06 18:54:53 +00:00
|
|
|
{% load i18n %}
|
|
|
|
|
|
|
|
{% block modal-title %}{% trans "Delete this list?" %}{% endblock %}
|
|
|
|
|
|
|
|
{% block modal-body %}
|
|
|
|
{% trans "This action cannot be un-done" %}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block modal-footer %}
|
|
|
|
<form name="delete-list-{{ list.id }}" action="{% url 'delete-list' list.id %}" method="POST">
|
|
|
|
{% csrf_token %}
|
|
|
|
<input type="hidden" name="id" value="{{ list.id }}">
|
|
|
|
<button class="button is-danger" type="submit">
|
|
|
|
{% trans "Delete" %}
|
|
|
|
</button>
|
2021-12-30 21:18:06 +00:00
|
|
|
<button type="button" class="button" data-modal-close>
|
|
|
|
{% trans "Cancel" %}
|
|
|
|
</button>
|
2021-09-06 18:54:53 +00:00
|
|
|
</form>
|
|
|
|
{% endblock %}
|
|
|
|
|