]> asedeno.scripts.mit.edu Git - bluechips.git/blobdiff - bluechips/templates/spend/index.mako
Move title into controller to encourage template reuse
[bluechips.git] / bluechips / templates / spend / index.mako
index 61047ad445ab1e243278c40840c42e5f4ad365b9..09f5e2b0c59ab6d914cb286aae05b1d7b3a40cc9 100644 (file)
@@ -1,6 +1,6 @@
 <%inherit file="/base.mako"/>
 
-<%def name="title()">${parent.title()} :: Add a New Expenditure</%def>
+<%def name="title()">${parent.title()} :: ${c.title}</%def>
 <%!
 import bluechips.widgets.spend as forms
 %>