Fix delete text to match original admin.

This commit is contained in:
Audrey Roy 2013-05-20 23:33:37 +02:00
parent f9a1540e09
commit 55168a0ea0

View file

@ -1,14 +1,16 @@
{% extends "admin2/bootstrap/base.html" %}
{% block title %}Delete {{ model }}{% endblock %}
{% block title %}Are you sure?{% endblock %}
{% block page_title %}Delete {{ model }}{% endblock %}
{% block page_title %}Are you sure?{% endblock %}
{% block content %}
<p>Are you sure you want to delete the {{ model }} "{{ object }}"? All of the following related items will be deleted:</p>
TODO
<form method="post">
{% csrf_token %}
delete {{ object }}
{{ form.as_p }}
<input type="submit"/>
</form>