summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--templates/pages/constadd.mako14
-rw-r--r--templates/pages/constedit.mako5
2 files changed, 19 insertions, 0 deletions
diff --git a/templates/pages/constadd.mako b/templates/pages/constadd.mako
new file mode 100644
index 0000000..3947e51
--- /dev/null
+++ b/templates/pages/constadd.mako
@@ -0,0 +1,14 @@
+<%inherit file="/page.mako" />
+
+% if not form.valid:
+ ERROR!
+% endif
+
+<form name="add_const_expense" method="post">
+ ${form.render()}
+ <input type="submit" />
+</form>
+
+<%def name="heading()">
+ Add new constant expense
+</%def>
diff --git a/templates/pages/constedit.mako b/templates/pages/constedit.mako
new file mode 100644
index 0000000..d275cce
--- /dev/null
+++ b/templates/pages/constedit.mako
@@ -0,0 +1,5 @@
+<%inherit file="constadd.mako" />
+
+<%def name="heading()">
+ Edit constant expense
+</%def>