Refactor food item editing and remove index template

Removed the unused index.html template. Refactored the food item editing route to use a new updateFromForm method in the FoodItem model for updating fields from the form, simplifying the update logic and form population in routes.py.
This commit is contained in:
2025-06-29 16:25:55 +02:00
parent bbd67a1e8e
commit c5acf7d19b
3 changed files with 30 additions and 21 deletions

View File

@@ -1,5 +0,0 @@
{% extends "base.html" %}
{% block content %}
Index page idk
{% endblock%}