summaryrefslogtreecommitdiffstats
path: root/templates/user
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2020-04-19 13:31:56 +0100
committerGitHub <noreply@github.com>2020-04-19 20:31:56 +0800
commit9588d2c6226c3d027bc5eca8cde7f85806dc3633 (patch)
tree063dcb86a7cce33a50bc3622d081b58963557178 /templates/user
parent23163e98a307300a6ba43e3d8c3b0d031398fef4 (diff)
downloadgitea-9588d2c6226c3d027bc5eca8cde7f85806dc3633.tar.gz
gitea-9588d2c6226c3d027bc5eca8cde7f85806dc3633.zip
Remove errant third curly brackets from account.tmpl and pull.tmpl and send account ID in account.tmpl (#11129)
* Remove errant third } from account.tmpl Fix #11128 Signed-off-by: Andrew Thornton <art27@cantab.net> * Remove errant third curly bracket from pull.tmpl Signed-off-by: Andrew Thornton <art27@cantab.net> * Update templates/user/settings/account.tmpl
Diffstat (limited to 'templates/user')
-rw-r--r--templates/user/settings/account.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/settings/account.tmpl b/templates/user/settings/account.tmpl
index 67036f66f5..e8b4267a70 100644
--- a/templates/user/settings/account.tmpl
+++ b/templates/user/settings/account.tmpl
@@ -92,7 +92,7 @@
<form action="{{AppSubUrl}}/user/settings/account/email" method="post">
{{$.CsrfTokenHtml}}
<input name="_method" type="hidden" value="SENDACTIVATION">
- <input name="id" type="hidden" value="{{if .IsPrimary}}PRIMARY{{else}}}.ID{{end}}">
+ <input name="id" type="hidden" value="{{if .IsPrimary}}PRIMARY{{else}}{{.ID}}{{end}}">
{{if $.ActivationsPending}}
<button disabled class="ui blue tiny button">{{$.i18n.Tr "settings.activations_pending"}}</button>
{{else}}