mirror of
https://github.com/jazzband/django-admin2.git
synced 2026-04-17 13:21:06 +00:00
Fix delete text to match original admin.
This commit is contained in:
parent
f9a1540e09
commit
55168a0ea0
1 changed files with 5 additions and 3 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue