From 0877cfc3c9d937999bcb3051b4b712800a53ca35 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Thu, 7 Nov 2019 22:56:56 -0600 Subject: [PATCH] Fallback to referrer if form has no cancel button URL --- tailbone/templates/forms/deform_buefy.mako | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tailbone/templates/forms/deform_buefy.mako b/tailbone/templates/forms/deform_buefy.mako index 9d4dafe2..3d60decc 100644 --- a/tailbone/templates/forms/deform_buefy.mako +++ b/tailbone/templates/forms/deform_buefy.mako @@ -63,11 +63,11 @@ ${h.link_to("Cancel", form.cancel_url, class_='ui-btn ui-corner-all')} % else: % if form.auto_disable_cancel: - % else: - + Cancel % endif