summaryrefslogtreecommitdiff
path: root/templates/show.mako
diff options
context:
space:
mode:
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>