From a7ba8e511e8bff22a760a2b1db1285f9b1b6e5cd Mon Sep 17 00:00:00 2001 From: jessikitty Date: Sat, 3 Oct 2026 00:56:17 +1000 Subject: [PATCH] Add label create/edit form --- app/templates/admin/labels/form.html | 130 +++++++++++++++++++++++++++ 1 file changed, 130 insertions(+) create mode 100644 app/templates/admin/labels/form.html diff --git a/app/templates/admin/labels/form.html b/app/templates/admin/labels/form.html new file mode 100644 index 0000000..61608a9 --- /dev/null +++ b/app/templates/admin/labels/form.html @@ -0,0 +1,130 @@ +{% extends "base.html" %} + +{% block title %}{{ 'New' if is_new else 'Edit' }} Label - Admin{% endblock %} + +{% block content %} +
+
+

{{ 'New Label' if is_new else 'Edit Label' }}

+
+ +
+ +
+
+
+
+
What's in the drawer
+
+
+
+ + +
The big line on the label. Keep it short — "Brick", "Plate, Modified with Clip".
+
+
+ + +
+
+ + +
+
+ + +
Comma separated. Old moulds that live in the same drawer.
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+
+
+ +
+
+
Artwork
+
+ {% if label.get_image() %} + +
+ + +
+ {% else %} +

No image yet.

+ {% endif %} + +
+ + + + + +
+ + +
+
+
+
+ +
+
+ + {% if is_new %} + + {% else %} + + Print this label + + {% endif %} +
+
+
+
+
+ +{% if not is_new %} +
+ +
+{% endif %} +{% endblock %}