From 8de604f15f7a0e1e1397688d99b6346e0ab81b6b Mon Sep 17 00:00:00 2001 From: Evan Broder Date: Tue, 15 Jul 2008 16:08:49 +0000 Subject: [PATCH] Change how widgets are included The <%namespace> tag changes the semantics of function cals --- bluechips/templates/spend/index.mako | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bluechips/templates/spend/index.mako b/bluechips/templates/spend/index.mako index 390199d..297172f 100644 --- a/bluechips/templates/spend/index.mako +++ b/bluechips/templates/spend/index.mako @@ -1,7 +1,8 @@ <%inherit file="/base.mako"/> <%def name="title()">${parent.title()} :: Add a New Expenditure - -<%namespace name="forms" module="bluechips.widgets.spend" /> +<%! +import bluechips.widgets.spend as forms +%> ${forms.new_spend_form(action=h.url_for(action='new'))} -- 2.45.2