From 51c9fed15381421c4b7e8ba95af60b5204483d50 Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Sun, 5 Jun 2022 14:20:40 +0200 Subject: First commit :baby: --- app/templates/modules/add-item.html | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 app/templates/modules/add-item.html (limited to 'app/templates/modules/add-item.html') 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 %} + +
+
+ Add a new item to our {{ table }} table. + {% for field in form %} + {{ field.label() }}
+ {{ field() }}
+ {% endfor %} +
+
+ +{% endblock %} -- cgit v1.2.3