From 421840486f4f09ed3bcab98472e58d357853aae6 Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Fri, 5 May 2023 13:14:22 +0800 Subject: [PATCH] Fix form method/class (#24535) Fix #24534 --- templates/repo/settings/options.tmpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/repo/settings/options.tmpl b/templates/repo/settings/options.tmpl index cd2854c0622a..b26656bf28f9 100644 --- a/templates/repo/settings/options.tmpl +++ b/templates/repo/settings/options.tmpl @@ -91,7 +91,7 @@ {{$.locale.Tr "repo.settings.mirror_settings.direction.pull"}} {{DateTime "full" .Mirror.UpdatedUnix}} -
+ {{.CsrfTokenHtml}} @@ -169,13 +169,13 @@ {{$.locale.Tr "repo.settings.mirror_settings.direction.push"}} {{if .LastUpdateUnix}}{{DateTime "full" .LastUpdateUnix}}{{else}}{{$.locale.Tr "never"}}{{end}} {{if .LastError}}
{{$.locale.Tr "error"}}
{{end}} - + {{$.CsrfTokenHtml}}
-
+ {{$.CsrfTokenHtml}}