- added product photos, some stuff on personal page

This commit is contained in:
Bernhard Stampfer
2016-02-26 17:22:17 +01:00
parent c0d9cf8ff0
commit 70774e892b
7 changed files with 61 additions and 23 deletions

View File

@@ -9,10 +9,11 @@
<p>{{ success }}</p>
{% endif %}
<p> TODO: many </p>
<form name="user" method="post" action="/manage_beverages/add">
<form name="user" method="post" action="/manage_beverages/add" enctype="multipart/form-data">
Produktname:<br><input type="text" name="name" required><br>
Preis:<br><input type="number" name="price" step="any" required value="0.0" /><br>
Angezeigt: <input type="checkbox" name="isshown" checked /><br>
Bild: <input type="file" name="file"><br>
<input type="submit" value="Hinzufügen">
</form>
{% endblock %}