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