From 10cc4eb069b8563eeebf3eecd463d01fec473f3d Mon Sep 17 00:00:00 2001 From: Markos Gogoulos Date: Sat, 14 Mar 2026 16:29:54 +0200 Subject: [PATCH] 1 --- files/forms.py | 1 + templates/cms/publish_media.html | 27 +++++++++++++++++++++++++++ templates/root.html | 2 ++ 3 files changed, 30 insertions(+) diff --git a/files/forms.py b/files/forms.py index 55dbc552..77a30b88 100644 --- a/files/forms.py +++ b/files/forms.py @@ -123,6 +123,7 @@ class MediaPublishForm(forms.ModelForm): widgets = { "category": CategoryModalWidget(), + "state": forms.RadioSelect(), } def __init__(self, user, *args, **kwargs): diff --git a/templates/cms/publish_media.html b/templates/cms/publish_media.html index 41f5437d..cee5745a 100644 --- a/templates/cms/publish_media.html +++ b/templates/cms/publish_media.html @@ -6,6 +6,33 @@ {% block headermeta %}{% endblock headermeta %} +{% block extra_head %} + + +{% endblock extra_head %} + {% block innercontent %}
{% include "cms/media_nav.html" with active_tab="publish" %} diff --git a/templates/root.html b/templates/root.html index 6718439b..9300d3a0 100644 --- a/templates/root.html +++ b/templates/root.html @@ -21,6 +21,8 @@ {% block topimports %}{%endblock topimports %} + {% block extra_head %}{% endblock extra_head %} + {% include "config/index.html" %} {% if not USE_ROUNDED_CORNERS %}