changed various html templates to include notification boxes, spelling

This commit is contained in:
bernis
2017-03-03 17:48:25 +01:00
parent a36df6973e
commit 4514db257f
13 changed files with 63 additions and 45 deletions

View File

@@ -3,12 +3,11 @@
{% block content %}
<h1>Konsumat hinzufügen</h1>
{% if error %}
<p>Fehler: {{ error }}</p>
<div class="somethingbad">Fehler: {{ error }}</div>
{% endif %}
{% if success %}
<p>{{ success }}</p>
<div class="somethinggood">{{ success }}</div>
{% endif %}
<p> TODO: many </p>
<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>
@@ -16,4 +15,4 @@
Bild: <input type="file" name="file"><br>
<input type="submit" value="Hinzufügen">
</form>
{% endblock %}
{% endblock %}