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,10 +3,10 @@
{% block content %}
<h1>Konsumat {{product_to_edit.name}} bearbeiten</h1>
{% if error %}
<p>Fehler: {{ error }}</p>
<div class="somethingbad">Fehler: {{ error }}</div>
{% else %}
{% if success %}
<p>{{ success }}</p>
<div class="somethinggood">{{ success }}</div>
{% endif %}
<form name="product" method="post" action="/manage_beverages/edit" enctype="multipart/form-data">
ProduktID:<br><input type="text" name="id" required value="{{product_to_edit.id}}" readonly="readonly" /> <br>
@@ -17,4 +17,4 @@
<input type="submit" value="Übernehmen" />
</form>
{% endif %}
{% endblock %}
{% endblock %}