- added stylesheet entries for tables/forms, small changes to templates
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{% extends "base.html"%}
|
||||
{% set title = "Produkt hinzufügen" %}
|
||||
{% block content %}
|
||||
<h1> Produkt hinzufügen</h1>
|
||||
<h1>Konsumat hinzufügen</h1>
|
||||
{% if error %}
|
||||
<p>Fehler: {{ error }}</p>
|
||||
{% endif %}
|
||||
@@ -10,8 +10,8 @@
|
||||
{% endif %}
|
||||
<p> TODO: many </p>
|
||||
<form name="user" method="post" action="/manage_beverages/add">
|
||||
Produktname:<input type="text" name="name" required><br>
|
||||
Preis:<input type="number" name="price" step="any" required value="0.0" /> € <br>
|
||||
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>
|
||||
<input type="submit" value="Hinzufügen">
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user