]> asedeno.scripts.mit.edu Git - bluechips.git/blobdiff - bluechips/templates/spend/index.mako
Make navigation links work with edit pages
[bluechips.git] / bluechips / templates / spend / index.mako
index 297172f6a5c6ea0dec49ee9fc503d4b4ffc5b3fa..e8283308257a6175379a162a3e35a2ba84cd0012 100644 (file)
@@ -1,8 +1,8 @@
 <%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
 %>
 
-${forms.new_spend_form(action=h.url_for(action='new'))}
+${forms.new_spend_form(c.expenditure, action=h.url_for(action='update'))}