feat: add /plants page
This commit is contained in:
parent
18499631ea
commit
dce23599ef
4 changed files with 51 additions and 17 deletions
9
templates/views/plants.html
Normal file
9
templates/views/plants.html
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{% import "components/plant.html" as comp_plant %}
|
||||
|
||||
<h1>Plants</h1>
|
||||
|
||||
<ul>
|
||||
{% for plant in plants %}
|
||||
{{ comp_plant::li(plant=plant) }}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
Loading…
Add table
Add a link
Reference in a new issue