summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2013-04-05 20:48:07 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2013-04-05 20:48:07 +0200
commitd6089be1fac75a58cce3e6d0f4379b3f0d362691 (patch)
treeec4b32bf8d9a420f779f1f7b857bc51764fd45da /templates
parent9b8c0af63a87523185f2ddadf47454e051062040 (diff)
downloadkosten-d6089be1fac75a58cce3e6d0f4379b3f0d362691.tar.gz
kosten-d6089be1fac75a58cce3e6d0f4379b3f0d362691.tar.bz2
kosten-d6089be1fac75a58cce3e6d0f4379b3f0d362691.zip
Delete entries
Diffstat (limited to '')
-rw-r--r--templates/pages/add.mako4
-rw-r--r--templates/pages/edit.mako5
2 files changed, 8 insertions, 1 deletions
diff --git a/templates/pages/add.mako b/templates/pages/add.mako
index c1f4ae7..3ce46fd 100644
--- a/templates/pages/add.mako
+++ b/templates/pages/add.mako
@@ -6,7 +6,9 @@
<form name="add_expense" method="post">
${form.render()}
- <input type="submit" />
+ <%block name="form_buttons">
+ <input type="submit" name="changeB" />
+ </%block>
</form>
<%block name="heading">
diff --git a/templates/pages/edit.mako b/templates/pages/edit.mako
index 37c93dd..1343136 100644
--- a/templates/pages/edit.mako
+++ b/templates/pages/edit.mako
@@ -3,3 +3,8 @@
<%block name="heading">
Bearbeite Kosteneintrag
</%block>
+
+<%block name="form_buttons">
+ <input type="submit" name="changeB" />
+ <input type="submit" name="deleteB" value="Eintrag löschen" />
+</%block>