From 027bcfcde53d235a33d5970240b13cf2583e6ef8 Mon Sep 17 00:00:00 2001 From: Dariusz Niemczyk Date: Mon, 17 Jul 2023 22:44:44 +0200 Subject: [PATCH] Hack: admin props combobox works(?) --- .../admin/storage/item/change_form.html | 31 ++++++++++++++----- 1 file changed, 24 insertions(+), 7 deletions(-) diff --git a/storage/templates/admin/storage/item/change_form.html b/storage/templates/admin/storage/item/change_form.html index b964c18..b6290cd 100644 --- a/storage/templates/admin/storage/item/change_form.html +++ b/storage/templates/admin/storage/item/change_form.html @@ -1,10 +1,18 @@ -{% extends "admin/change_form.html" %} {% block submit_buttons_top %} {# We want -add another to be default submit action #} - -{{ block.super }} {% endblock %} {% block submit_buttons_bottom %} {# We want -add another to be default submit action #} - -{{ block.super }} {% endblock %} {% block content %}{{ block.super }} +{% extends "admin/change_form.html" %} + +{% block submit_buttons_top %} + {# We want add another to be default submit action #} + + {{ block.super }} +{% endblock %} + +{% block submit_buttons_bottom %} + {# We want add another to be default submit action #} + + {{ block.super }} +{% endblock %} + +{% block content %}{{ block.super }} {% endblock %}