From 1095a049a63e4286da620b914c23411ea7a02e64 Mon Sep 17 00:00:00 2001 From: François Schmidts Date: Sat, 10 Oct 2015 12:59:32 +0200 Subject: base category creation/edition --- pyaggr3g470r/templates/edit_category.html | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pyaggr3g470r/templates/edit_category.html (limited to 'pyaggr3g470r/templates') diff --git a/pyaggr3g470r/templates/edit_category.html b/pyaggr3g470r/templates/edit_category.html new file mode 100644 index 00000000..93c952d6 --- /dev/null +++ b/pyaggr3g470r/templates/edit_category.html @@ -0,0 +1,23 @@ +{% extends "layout.html" %} +{% block content %} +
+
+

{{ action }}

+
+ {{ form.hidden_tag() }} +
+ +
+ {{ form.name(class_="form-control", size="100%") }} +
+ {% for error in form.name.errors %} {{ error }}
{% endfor %} +
+
+
+ {{ form.submit(class_="btn btn-default") }} +
+
+
+
+
+{% endblock %} -- cgit