From: Evan Broder Date: Fri, 25 Jul 2008 04:26:32 +0000 (+0000) Subject: Add edit links for transfers and expenditures X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=d098f1b09ee06a4753aaaa0e0f4ccbadf22a93c8;p=bluechips.git Add edit links for transfers and expenditures --- diff --git a/bluechips/templates/base.mako b/bluechips/templates/base.mako index 1aa31cb..c536c94 100644 --- a/bluechips/templates/base.mako +++ b/bluechips/templates/base.mako @@ -43,6 +43,7 @@ Spender Description Amount + % for e in es: @@ -50,6 +51,9 @@ ${e.spender.name} ${e.description} ${e.amount} + ${h.link_to('Edit', h.url_for(controller='spend', + action='edit', + id=e.id))} % endfor @@ -63,6 +67,7 @@ To Description Amount + % for t in ts: @@ -71,6 +76,9 @@ ${t.creditor.name} ${t.description} ${t.amount} + ${h.link_to('Edit', h.url_for(controller='transfer', + action='edit', + id=t.id))} % endfor