summaryrefslogtreecommitdiff
path: root/app/templates/modules/add-item.html
diff options
context:
space:
mode:
authorMarius Peter <marius.peter@tutanota.com>2022-06-05 14:20:40 +0200
committerMarius Peter <marius.peter@tutanota.com>2022-06-05 14:20:40 +0200
commit51c9fed15381421c4b7e8ba95af60b5204483d50 (patch)
tree9d4b9b9d55f44c9be23ab7f33c4a0b19ab9beaec /app/templates/modules/add-item.html
First commit :baby:
Diffstat (limited to 'app/templates/modules/add-item.html')
-rw-r--r--app/templates/modules/add-item.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/app/templates/modules/add-item.html b/app/templates/modules/add-item.html
new file mode 100644
index 0000000..4eaee3d
--- /dev/null
+++ b/app/templates/modules/add-item.html
@@ -0,0 +1,19 @@
+{# -*- mode: web; -*- #}
+
+{% extends "base.html" %}
+
+
+{% block title %}Add {{ table }} item{% endblock %}
+{% block content %}
+
+<form action="{{ request.path }}" method="POST">
+ <fieldset>
+ <legend>Add a new item to our {{ table }} table.</legend>
+ {% for field in form %}
+ {{ field.label() }}<br/>
+ {{ field() }}<br/>
+ {% endfor %}
+ </fieldset>
+</form>
+
+{% endblock %}
Copyright 2019--2024 Marius PETER