diff options
author | Daniel Weipert <code@drogueronin.de> | 2022-01-14 18:21:36 +0100 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2022-01-14 18:21:36 +0100 |
commit | 4cacc94240944ff316104bfd1b5e8e00fad14517 (patch) | |
tree | 2559dc3aa121d70bd645ff0a2fe56e1ae0695daa /templates | |
parent | 9c0893cb65df986b9edf0f48a6d4d2d65f27b8ef (diff) |
Add Artworks, Votes and better routing
Diffstat (limited to 'templates')
-rw-r--r-- | templates/home.twig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/home.twig b/templates/home.twig index bc5b812..d4e86ed 100644 --- a/templates/home.twig +++ b/templates/home.twig @@ -1,2 +1,14 @@ <h3>Home</h3> +<form action="/card/add" method="post" enctype="multipart/form-data"> + {% for key, field in fields %} + <label> + {{ key }} <input type="text" name="{{ field }}"> + </label> + {% endfor %} + <label> + Image <input type="file" name="images[]" multiple> + </label> + <input type="submit" value="Hinzufügen"> +</form> + |