diff --git a/dbapp/mainapp/templates/mainapp/objitem_form.html b/dbapp/mainapp/templates/mainapp/objitem_form.html
index 88905a5..f059be6 100644
--- a/dbapp/mainapp/templates/mainapp/objitem_form.html
+++ b/dbapp/mainapp/templates/mainapp/objitem_form.html
@@ -62,6 +62,12 @@
{% if object %}Редактировать объект: {{ object.name }}{% else %}Создать объект{% endif %}
+ {% if user.customuser.role == 'admin' or user.customuser.role == 'moderator' %}
+
+ {% if object %}
+
Удалить
+ {% endif %}
+ {% endif %}
Назад
@@ -329,14 +335,6 @@
{% endif %}
- {% if user.customuser.role == 'admin' or user.customuser.role == 'moderator' %}
-