From f9089066ecba8cfbafcc2f23a7109a898e229c42 Mon Sep 17 00:00:00 2001 From: Yaro Kasear Date: Fri, 25 Jul 2025 10:35:38 -0500 Subject: [PATCH] Refactor editor fragment layout for improved readability and maintainability --- .../templates/fragments/_editor_fragment.html | 51 +++++++++++-------- 1 file changed, 30 insertions(+), 21 deletions(-) diff --git a/inventory/templates/fragments/_editor_fragment.html b/inventory/templates/fragments/_editor_fragment.html index d98d3d6..97e2027 100644 --- a/inventory/templates/fragments/_editor_fragment.html +++ b/inventory/templates/fragments/_editor_fragment.html @@ -1,28 +1,37 @@ {% import "fragments/_icon_fragment.html" as icons %} {% macro render_editor(id, title, mode='edit', content=None, enabled=True) %} - -
-
- -
-
-
- -
+ +
+
+ +
+
+
+
+
{% endmacro %} \ No newline at end of file