From 1dad22d3e45d6506c8624e3a7111240fcc4ab786 Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Sun, 15 May 2022 13:16:37 +0200 Subject: Templates. --- app/templates/modules/edit-item.html | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 app/templates/modules/edit-item.html (limited to 'app/templates/modules/edit-item.html') 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 %} + +
+
+ Edit item #{{ pk }} in our {{ table }} table. + {% for field in form %} + {{ field.label() }} + {{ field() }}
+ {% endfor %} +
+
+ +{% endblock %} -- cgit v1.2.3