From 5b606153def26abd277909a70d905bf8f2e18c4e Mon Sep 17 00:00:00 2001 From: Fabio Caccamo Date: Wed, 3 Feb 2021 21:22:06 +0100 Subject: [PATCH] Fixed body classes template rendering. --- admin_interface/templates/admin/base_site.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/admin_interface/templates/admin/base_site.html b/admin_interface/templates/admin/base_site.html index 309258a..7c7521d 100644 --- a/admin_interface/templates/admin/base_site.html +++ b/admin_interface/templates/admin/base_site.html @@ -53,8 +53,7 @@ https://github.com/fabiocaccamo/django-admin-interface {% include "admin_interface/related-modal.html" %} {% endblock %} -{% block bodyclass %}admin-interface flat-theme {% get_admin_interface_theme as theme %}{% if theme.name %}{{ -theme.name|slugify }}-theme{% endif %}{% if theme.form_submit_sticky %} sticky-submit {% endif %}{% if theme.form_pagination_sticky %} sticky-pagination {% endif %}{% endblock %} +{% block bodyclass %}admin-interface flat-theme {% get_admin_interface_theme as theme %}{% if theme.name %}{{ theme.name|slugify }}-theme{% endif %}{% if theme.form_submit_sticky %} sticky-submit {% endif %}{% if theme.form_pagination_sticky %} sticky-pagination {% endif %}{% endblock %} {% block branding %} {% get_admin_interface_theme as theme %}