From b389af9bb9121cd284da4e75880623ac1a8db1c0 Mon Sep 17 00:00:00 2001 From: Audrey Roy Date: Fri, 31 May 2013 22:21:04 +0200 Subject: [PATCH] Add delete button to edit form as per issue #72. --- .../admin2/bootstrap/model_update_form.html | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/djadmin2/templates/admin2/bootstrap/model_update_form.html b/djadmin2/templates/admin2/bootstrap/model_update_form.html index 51dfe46..bf0af47 100644 --- a/djadmin2/templates/admin2/bootstrap/model_update_form.html +++ b/djadmin2/templates/admin2/bootstrap/model_update_form.html @@ -22,7 +22,7 @@ {% block content %} -
+
{% csrf_token %} @@ -58,9 +58,14 @@ {% endfor %} - - - +
+ {% trans "Delete" %} + +
+ + + +