feat: overhaul templating system

This commit is contained in:
Jef Roosens 2025-01-10 15:16:01 +01:00
parent 03b3f692e1
commit 4a4b8bba3d
No known key found for this signature in database
GPG key ID: 21FD3D77D56BAF49
22 changed files with 157 additions and 127 deletions

View file

@ -0,0 +1,6 @@
{% import "components/plant.html" as comp_plant %}
<h2>Plants</h2>
{{ comp_plant::list(plants=plants) }}
<h3>Add new plant</h3>
{{ comp_plant::form() }}