contentdb/app/templates/collections/delete.html
2023-08-22 19:58:43 +01:00

18 lines
667 B
HTML

{% extends "base.html" %}
{% block title %}
{{ _('Delete collection "%(title)s" by %(author)s', title=collection.title, author=collection.author.username) }}
{% endblock %}
{% block content %}
<form method="POST" action="" class="card box_grey">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
<h3 class="card-header">{{ self.title() }}</h3>
<div class="card-body">
<p>{{ _("Deleting is permanent") }}</p>
<a class="btn btn-secondary me-3" href="{{ collection.get_url('collections.create_edit') }}">{{ _("Cancel") }}</a>
<input type="submit" value="{{ _('Delete') }}" class="btn btn-danger" />
</div>
</form>
{% endblock %}