feat: overhaul templating system
This commit is contained in:
parent
03b3f692e1
commit
4a4b8bba3d
22 changed files with 157 additions and 127 deletions
6
templates/views/index.html
Normal file
6
templates/views/index.html
Normal 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() }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue