diff --git a/src/wuttaweb/templates/configure.mako b/src/wuttaweb/templates/configure.mako index 63ba963..e5d841a 100644 --- a/src/wuttaweb/templates/configure.mako +++ b/src/wuttaweb/templates/configure.mako @@ -18,7 +18,7 @@
${self.buttons_content()} - ${h.form(request.current_route_url(), enctype='multipart/form-data', ref='saveSettingsForm', **{'@submit': 'saveSettingsFormSubmit'})} + ${h.form(request.url, enctype='multipart/form-data', ref='saveSettingsForm', **{'@submit': 'saveSettingsFormSubmit'})} ${h.csrf_token(request)}
${self.form_content()} @@ -53,7 +53,7 @@ Cancel - ${h.form(request.current_route_url(), **{'@submit': 'purgingSettings = true'})} + ${h.form(request.url, **{'@submit': 'purgingSettings = true'})} ${h.csrf_token(request)} ${h.hidden('remove_settings', 'true')} {{ savingSettings ? "Working, please wait..." : "Save All Settings" }} -