26 lines
894 B
HTML
26 lines
894 B
HTML
{% extends "administration/base.html" %}
|
|
|
|
{% load i18n %}
|
|
{% load utils %}
|
|
|
|
{% block content %}
|
|
<div class="container">
|
|
{% block above_form %}
|
|
<h1>{% blocktrans with object_type=object|verbose_name %}Delete {{ object_type }}{% endblocktrans %}</h1>
|
|
{% endblock %}
|
|
<div class="">
|
|
<form method="post" class="form-horizontal">
|
|
{% csrf_token %}
|
|
<p>
|
|
{% blocktrans with object_type=object|verbose_name name=object %}
|
|
Are you sure you want to delete {{ object_type }} "{{ object }}"?
|
|
{% endblocktrans %}
|
|
</p>
|
|
<input type="hidden" name="confirmdelete" value="yes">
|
|
<a href="{% back %}" class="btn btn-default">{% trans 'Back' %}</a>
|
|
<input type="submit" class="btn btn-danger" value="{% trans 'Delete' %}" />
|
|
</form>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|