From 60f2e9f4e4d9ee6dc7623e062b49bc8eb17df327 Mon Sep 17 00:00:00 2001 From: Joachim Lusiardi Date: Mon, 27 Jun 2016 20:08:49 +0200 Subject: [PATCH] adds form to create a consumable --- .../templates/createConsumableForm.html | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 app/rollerverbrauch/templates/createConsumableForm.html diff --git a/app/rollerverbrauch/templates/createConsumableForm.html b/app/rollerverbrauch/templates/createConsumableForm.html new file mode 100644 index 0000000..1634ccf --- /dev/null +++ b/app/rollerverbrauch/templates/createConsumableForm.html @@ -0,0 +1,19 @@ +{% extends "layout.html" %} + +{% block body %} +
+
+
+
+

Create consumable

+
+ {{ form.hidden_tag() }} + {{ render_field_with_errors(form.name) }} + {{ render_field_with_errors(form.unit) }} + {{ render_field_with_errors(form.submit) }} +
+
+
+
+
+{% endblock %}