diff options
author | Marius Peter <marius.peter@tutanota.com> | 2022-05-15 13:16:37 +0200 |
---|---|---|
committer | Marius Peter <marius.peter@tutanota.com> | 2022-05-15 13:16:37 +0200 |
commit | 1dad22d3e45d6506c8624e3a7111240fcc4ab786 (patch) | |
tree | 35d2c1e84215c6e6a52979bbff0cbc2e8cf77ace /app/templates/modules/add-item.html | |
parent | 3aee6067123cd8afd985f68847e6bb476a853bb0 (diff) |
Templates.
Diffstat (limited to 'app/templates/modules/add-item.html')
-rw-r--r-- | app/templates/modules/add-item.html | 19 |
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..356ce9f --- /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() }} + {{ field() }}<br/> + {% endfor %} + </fieldset> +</form> + +{% endblock %} |