From 93406db07ebb6fa0e30734b383dcb209c790a32a Mon Sep 17 00:00:00 2001 From: Stef Date: Mon, 11 Aug 2025 16:43:00 +0200 Subject: [PATCH] Update add_item.html Changed the order of macros when adding new item --- application/add_meal/templates/add_item.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/application/add_meal/templates/add_item.html b/application/add_meal/templates/add_item.html index 04b77bc..f44b33d 100644 --- a/application/add_meal/templates/add_item.html +++ b/application/add_meal/templates/add_item.html @@ -20,8 +20,13 @@
- {{ form.protein.label(class="form-label") }} - {{ form.protein(class="form-control") }} + {{ form.fat.label(class="form-label") }} + {{ form.fat(class="form-control") }} +
+ +
+ {{ form.saturated_fat.label(class="form-label") }} + {{ form.saturated_fat(class="form-control") }}
@@ -35,13 +40,8 @@
- {{ form.fat.label(class="form-label") }} - {{ form.fat(class="form-control") }} -
- -
- {{ form.saturated_fat.label(class="form-label") }} - {{ form.saturated_fat(class="form-control") }} + {{ form.protein.label(class="form-label") }} + {{ form.protein(class="form-control") }}
{{ form.submit(class="btn btn-primary") }}