From 6251ad833bb249f4cbc52e1676c9d6a2b7d95fff Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Thu, 27 Oct 2022 11:20:54 +0200 Subject: [PATCH 1/1] Publish collection. --- .../admin/catalogue/collection/change_form.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/catalogue/templates/admin/catalogue/collection/change_form.html diff --git a/src/catalogue/templates/admin/catalogue/collection/change_form.html b/src/catalogue/templates/admin/catalogue/collection/change_form.html new file mode 100644 index 00000000..3f98d672 --- /dev/null +++ b/src/catalogue/templates/admin/catalogue/collection/change_form.html @@ -0,0 +1,14 @@ +{% extends "admin/change_form.html" %} + +{% block object-tools-items %} + {% if change and original.slug %} +
  • +
    + + {% csrf_token %} + +
    +
  • + {% endif %} + {{ block.super }} +{% endblock %} -- 2.20.1