From 122c6650d542c9f109b56134655d639ac3f2cefa Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Thu, 22 Aug 2024 16:42:42 -0500 Subject: [PATCH] fix: add override hook for base form template --- src/wuttaweb/templates/form.mako | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/wuttaweb/templates/form.mako b/src/wuttaweb/templates/form.mako index 7029463..de7209a 100644 --- a/src/wuttaweb/templates/form.mako +++ b/src/wuttaweb/templates/form.mako @@ -9,13 +9,17 @@ % endif -<%def name="render_vue_templates()"> - ${parent.render_vue_templates()} +<%def name="render_vue_template_form()"> % if form is not Undefined: ${form.render_vue_template()} % endif +<%def name="render_vue_templates()"> + ${parent.render_vue_templates()} + ${self.render_vue_template_form()} + + <%def name="make_vue_components()"> ${parent.make_vue_components()} % if form is not Undefined: