moviewyrm/bookwyrm/templates/lists/delete_list_modal.html

25 lines
736 B
HTML
Raw Normal View History

{% 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 %}
2022-03-10 18:49:33 +00:00
<form name="delete-list-{{ list.id }}" action="{% url 'delete-list' list.id %}" method="POST" class="is-flex-grow-1">
2021-09-06 18:54:53 +00:00
{% csrf_token %}
<input type="hidden" name="id" value="{{ list.id }}">
2022-03-10 18:49:33 +00:00
<div class="buttons is-right is-flex-grow-1">
<button type="button" class="button" data-modal-close>
{% trans "Cancel" %}
</button>
<button class="button is-danger" type="submit">
{% trans "Delete" %}
</button>
</div>
2021-09-06 18:54:53 +00:00
</form>
{% endblock %}