summaryrefslogtreecommitdiff
path: root/app/templates/modules/edit-item.html
diff options
context:
space:
mode:
Diffstat (limited to 'app/templates/modules/edit-item.html')
-rw-r--r--app/templates/modules/edit-item.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/app/templates/modules/edit-item.html b/app/templates/modules/edit-item.html
new file mode 100644
index 0000000..194aa77
--- /dev/null
+++ b/app/templates/modules/edit-item.html
@@ -0,0 +1,19 @@
+{# -*- mode: web; -*- #}
+
+{% extends "base.html" %}
+
+
+{% block title %}Edit {{ table }} item{% endblock %}
+{% block content %}
+
+<form action="{{ request.path }}" method="POST">
+ <fieldset>
+ <legend>Edit item #{{ pk }} in our {{ table }} table.</legend>
+ {% for field in form %}
+ {{ field.label() }}
+ {{ field() }}<br/>
+ {% endfor %}
+ </fieldset>
+</form>
+
+{% endblock %}
Copyright 2019--2024 Marius PETER