From 4030904d40138e78197581370d53b5503b3cfa31 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Fri, 2 Dec 2022 12:16:51 -0600 Subject: [PATCH] Add simple template hook for "before object helpers" not sure how useful, but needed in one place, and hook makes for cleaner template inheritance --- tailbone/templates/form.mako | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tailbone/templates/form.mako b/tailbone/templates/form.mako index 5b11face..11d4d6ae 100644 --- a/tailbone/templates/form.mako +++ b/tailbone/templates/form.mako @@ -34,6 +34,9 @@
+ + ${before_object_helpers()} +
${self.object_helpers()}
@@ -46,6 +49,8 @@
+<%def name="before_object_helpers()"> + <%def name="render_this_page_template()"> % if form is not Underined: ${self.render_form()}