summaryrefslogtreecommitdiff
path: root/templates/show.mako
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2010-05-25 14:10:44 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2010-05-25 14:10:44 +0200
commitd3fa7f56c85241db83ebb986cdbf64004f5682be (patch)
tree9854e213fc7f80c744839f201ca26589471eddd5 /templates/show.mako
parent0ef8460158520285c89f32a03f387ef6871ce3f1 (diff)
downloadkosten-d3fa7f56c85241db83ebb986cdbf64004f5682be.tar.gz
kosten-d3fa7f56c85241db83ebb986cdbf64004f5682be.tar.bz2
kosten-d3fa7f56c85241db83ebb986cdbf64004f5682be.zip
Added the ability to edit an expense
Diffstat (limited to 'templates/show.mako')
-rw-r--r--templates/show.mako4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/show.mako b/templates/show.mako
index 88d802c..dc23b9c 100644
--- a/templates/show.mako
+++ b/templates/show.mako
@@ -9,7 +9,7 @@
<div class="details">
<ul>
% for exp in c.all:
- <li>${exp.day}.${exp.month}. -- ${exp.description}: ${exp.expense} </li>
+ <li><a href=${"/edit/%s" % exp.id | url}>${exp.day}.${exp.month}. -- ${exp.description}: ${exp.expense}</a></li>
% endfor
</ul>
</div>
@@ -26,7 +26,7 @@
<div class="details">
<ul>
% for exp in e.all:
- <li>${exp.day}.${exp.month}. -- ${exp.description}: ${exp.expense} </li>
+ <li><a href=${"/edit/%s" % exp.id | url}>${exp.day}.${exp.month}. -- ${exp.description}: ${exp.expense}</a></li>
% endfor
</ul>
</div>