From: wxiaoguang Date: Fri, 5 May 2023 05:14:22 +0000 (+0800) Subject: Fix form method/class (#24535) X-Git-Tag: v1.20.0-rc0~313 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=421840486f4f09ed3bcab98472e58d357853aae6;p=gitea.git Fix form method/class (#24535) Fix #24534 --- diff --git a/templates/repo/settings/options.tmpl b/templates/repo/settings/options.tmpl index cd2854c062..b26656bf28 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}}