From 7b438b35662f0409ae2c828d49b0b2f605bd2652 Mon Sep 17 00:00:00 2001 From: "Matthew R. McDougal" <24367033+mmdoogie@users.noreply.github.com> Date: Thu, 21 May 2020 22:02:56 -0500 Subject: [PATCH] Fix form action template substitutions on admin pages (backport #11519) (#11531) * Fix form action template substitution on admin dashboard * Fix form action template substitution on admin monitoring page Co-authored-by: zeripath Co-authored-by: Lauris BH --- templates/admin/dashboard.tmpl | 2 +- templates/admin/monitor.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/admin/dashboard.tmpl b/templates/admin/dashboard.tmpl index 0079fc78d..c1ac8fb48 100644 --- a/templates/admin/dashboard.tmpl +++ b/templates/admin/dashboard.tmpl @@ -15,7 +15,7 @@ {{.i18n.Tr "admin.dashboard.operations"}}
-
+ {{.CsrfTokenHtml}} diff --git a/templates/admin/monitor.tmpl b/templates/admin/monitor.tmpl index 26fbcb60a..2980a2e9d 100644 --- a/templates/admin/monitor.tmpl +++ b/templates/admin/monitor.tmpl @@ -7,7 +7,7 @@ {{.i18n.Tr "admin.monitor.cron"}}
- + {{.CsrfTokenHtml}}