From d72d7e4deb7c92b4c0d90def6ac23406fe24d6e8 Mon Sep 17 00:00:00 2001 From: Audrey Roy Date: Sat, 1 Jun 2013 12:54:15 +0200 Subject: [PATCH] Fix error on create from this form. --- djadmin2/templates/admin2/bootstrap/model_update_form.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/djadmin2/templates/admin2/bootstrap/model_update_form.html b/djadmin2/templates/admin2/bootstrap/model_update_form.html index bf0af47..a7e8d76 100644 --- a/djadmin2/templates/admin2/bootstrap/model_update_form.html +++ b/djadmin2/templates/admin2/bootstrap/model_update_form.html @@ -59,7 +59,9 @@ {% endfor %}
+ {% if object %} {% trans "Delete" %} + {% endif %}