From e7b8b6e818015ecff1604e71c558d36d5095f34e Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Tue, 16 Apr 2024 21:13:53 -0500 Subject: [PATCH] Fix master template bug when no form in context --- tailbone/templates/master/form.mako | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/tailbone/templates/master/form.mako b/tailbone/templates/master/form.mako index 1339bd91..dfe56fa8 100644 --- a/tailbone/templates/master/form.mako +++ b/tailbone/templates/master/form.mako @@ -6,9 +6,11 @@ - ${form.render_included_templates()} + % if form is not Undefined: + ${form.render_included_templates()} + % endif