From f9d950c4251089be4aa559ecc22ff6e6168952cb Mon Sep 17 00:00:00 2001 From: Yaro Kasear Date: Fri, 24 Oct 2025 10:44:36 -0500 Subject: [PATCH] Added status table. --- crudkit/ui/templates/field.html | 2 +- crudkit/ui/templates/form.html | 2 ++ inventory/__init__.py | 1 + inventory/models/__init__.py | 3 +- inventory/models/inventory.py | 5 ++- inventory/models/status.py | 33 +++++++++++++++++ inventory/routes/entry.py | 49 ++++++++++++++++++++------ inventory/routes/settings.py | 14 +++++++- inventory/templates/crudkit/table.html | 1 + inventory/templates/settings.html | 17 ++++++--- 10 files changed, 108 insertions(+), 19 deletions(-) create mode 100644 inventory/models/status.py diff --git a/crudkit/ui/templates/field.html b/crudkit/ui/templates/field.html index aecb234..9a9174a 100644 --- a/crudkit/ui/templates/field.html +++ b/crudkit/ui/templates/field.html @@ -1,4 +1,4 @@ -{# show label unless hidden/custom #} + {% if field_type != 'hidden' and field_label %}