X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=bluechips%2Ftemplates%2Fbase.mako;h=0fa65cf7c75abc4cd275cc6ca74a437bfaef4241;hb=9030048b2ba248a47c90643b520a1e1c601bc296;hp=49476f16bbb8d8cda609071b3a298b24874e91fb;hpb=ed8863d32a4d626a02bf1c5c930253003068ea3f;p=bluechips.git
diff --git a/bluechips/templates/base.mako b/bluechips/templates/base.mako
index 49476f1..0fa65cf 100644
--- a/bluechips/templates/base.mako
+++ b/bluechips/templates/base.mako
@@ -4,9 +4,18 @@
${next.body()}
@@ -78,6 +93,7 @@
Amount |
My Share |
|
+ |
% for e in es:
<%
@@ -93,6 +109,7 @@
${e.amount} |
${e.share(request.environ['user'])} |
${h.link_to('Edit', h.url_for(controller='spend', action='edit', id=e.id))} |
+ ${h.link_to('Delete', h.url_for(controller='spend', action='delete', id=e.id))} |
% endfor
@@ -107,6 +124,7 @@
Description |
Amount |
|
+ |
% for t in ts:
<%
@@ -122,6 +140,7 @@
${t.description} |
${t.amount} |
${h.link_to('Edit', h.url_for(controller='transfer', action='edit', id=t.id))} |
+ ${h.link_to('Delete', h.url_for(controller='transfer', action='delete', id=t.id))} |
% endfor