feat: implement simple file upload
This commit is contained in:
parent
c10b9baa95
commit
52478379a0
11 changed files with 232 additions and 9 deletions
|
|
@ -1,7 +1,13 @@
|
|||
{% import "components/event.html" as comp_event %}
|
||||
{% import "components/plant.html" as comp_plant %}
|
||||
{% import "components/image.html" as comp_image %}
|
||||
|
||||
{{ comp_plant::info(plant=plant) }}
|
||||
<h3>Events</h3>
|
||||
{{ comp_event::list(events=events) }}
|
||||
{{ comp_event::form(plant_id=plant.id) }}
|
||||
<h3>Images</h3>
|
||||
<div id="images">
|
||||
<ul></ul>
|
||||
</div>
|
||||
{{ comp_image::form(plant_id=plant.id) }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue