From 489d085de83aa1d03f19f7491efa450335c90909 Mon Sep 17 00:00:00 2001 From: Oliver Date: Tue, 2 Nov 2021 11:32:57 +1100 Subject: [PATCH] Refactor "category" settings page --- InvenTree/templates/InvenTree/settings/category.html | 12 ++++++------ InvenTree/templates/panel.html | 9 +++++---- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/InvenTree/templates/InvenTree/settings/category.html b/InvenTree/templates/InvenTree/settings/category.html index 9eb595ddde..f90d1e8d11 100644 --- a/InvenTree/templates/InvenTree/settings/category.html +++ b/InvenTree/templates/InvenTree/settings/category.html @@ -7,6 +7,12 @@ {% trans "Category Settings" %} {% endblock %} +{% block actions %} + +{% endblock %} + {% block content %}
@@ -21,12 +27,6 @@
-
- -
-
diff --git a/InvenTree/templates/panel.html b/InvenTree/templates/panel.html index 53c5ca997a..86867f07b4 100644 --- a/InvenTree/templates/panel.html +++ b/InvenTree/templates/panel.html @@ -3,10 +3,11 @@

{% block heading %}HEADING{% endblock %}

-
-
- {% block actions %} - {% endblock %} + {% include "spacer.html" %} +
+ {% block actions %} + {% endblock %} +
{% endblock %}