aboutsummaryrefslogtreecommitdiff
path: root/templates/user
diff options
context:
space:
mode:
Diffstat (limited to 'templates/user')
-rw-r--r--templates/user/auth/activate.tmpl2
-rw-r--r--templates/user/auth/forgot_passwd.tmpl2
-rw-r--r--templates/user/auth/login.tmpl2
-rw-r--r--templates/user/auth/reset_passwd.tmpl2
-rw-r--r--templates/user/auth/signup.tmpl2
-rw-r--r--templates/user/auth/two_factor.tmpl2
-rw-r--r--templates/user/auth/two_factor_recovery_code.tmpl2
-rw-r--r--templates/user/settings/applications.tmpl2
-rw-r--r--templates/user/settings/avatar.tmpl2
-rw-r--r--templates/user/settings/delete.tmpl2
-rw-r--r--templates/user/settings/email.tmpl4
-rw-r--r--templates/user/settings/password.tmpl2
-rw-r--r--templates/user/settings/profile.tmpl2
-rw-r--r--templates/user/settings/sshkeys.tmpl2
-rw-r--r--templates/user/settings/two_factor_enable.tmpl2
-rw-r--r--templates/user/settings/two_factor_recovery_codes.tmpl2
16 files changed, 17 insertions, 17 deletions
diff --git a/templates/user/auth/activate.tmpl b/templates/user/auth/activate.tmpl
index 8bff54aa..22635653 100644
--- a/templates/user/auth/activate.tmpl
+++ b/templates/user/auth/activate.tmpl
@@ -3,7 +3,7 @@
<div class="ui middle very relaxed page grid">
<div class="column">
<form class="ui form" action="{{AppSubUrl}}/user/activate" method="post">
- {{.CsrfTokenHtml}}
+ {{.CSRFTokenHTML}}
<h2 class="ui top attached header">
{{.i18n.Tr "auth.active_your_account"}}
</h2>
diff --git a/templates/user/auth/forgot_passwd.tmpl b/templates/user/auth/forgot_passwd.tmpl
index f1c25df5..8b115beb 100644
--- a/templates/user/auth/forgot_passwd.tmpl
+++ b/templates/user/auth/forgot_passwd.tmpl
@@ -3,7 +3,7 @@
<div class="ui middle very relaxed page grid">
<div class="column">
<form class="ui form" action="{{.Link}}" method="post">
- {{.CsrfTokenHtml}}
+ {{.CSRFTokenHTML}}
<h2 class="ui top attached header">
{{.i18n.Tr "auth.forgot_password"}}
</h2>
diff --git a/templates/user/auth/login.tmpl b/templates/user/auth/login.tmpl
index b928f2bd..d345bbbe 100644
--- a/templates/user/auth/login.tmpl
+++ b/templates/user/auth/login.tmpl
@@ -3,7 +3,7 @@
<div class="ui middle very relaxed page grid">
<div class="column">
<form class="ui form" action="{{.Link}}" method="post">
- {{.CsrfTokenHtml}}
+ {{.CSRFTokenHTML}}
<h3 class="ui top attached header">
{{.i18n.Tr "sign_in"}}
</h3>
diff --git a/templates/user/auth/reset_passwd.tmpl b/templates/user/auth/reset_passwd.tmpl
index cb124f5b..801679e8 100644
--- a/templates/user/auth/reset_passwd.tmpl
+++ b/templates/user/auth/reset_passwd.tmpl
@@ -3,7 +3,7 @@
<div class="ui middle very relaxed page grid">
<div class="column">
<form class="ui form" action="{{.Link}}" method="post">
- {{.CsrfTokenHtml}}
+ {{.CSRFTokenHTML}}
<input name="code" type="hidden" value="{{.Code}}">
<h2 class="ui top attached header">
{{.i18n.Tr "auth.reset_password"}}
diff --git a/templates/user/auth/signup.tmpl b/templates/user/auth/signup.tmpl
index 6b59e72d..8fc039ef 100644
--- a/templates/user/auth/signup.tmpl
+++ b/templates/user/auth/signup.tmpl
@@ -3,7 +3,7 @@
<div class="ui middle very relaxed page grid">
<div class="column">
<form class="ui form" action="{{.Link}}" method="post">
- {{.CsrfTokenHtml}}
+ {{.CSRFTokenHTML}}
<h3 class="ui top attached header">
{{.i18n.Tr "sign_up"}}
</h3>
diff --git a/templates/user/auth/two_factor.tmpl b/templates/user/auth/two_factor.tmpl
index bbe12abf..b445c778 100644
--- a/templates/user/auth/two_factor.tmpl
+++ b/templates/user/auth/two_factor.tmpl
@@ -3,7 +3,7 @@
<div class="ui middle very relaxed page grid">
<div class="column">
<form class="ui form" action="{{.Link}}" method="post">
- {{.CsrfTokenHtml}}
+ {{.CSRFTokenHTML}}
<h3 class="ui top attached center header">
{{.i18n.Tr "auth.login_two_factor"}}
</h3>
diff --git a/templates/user/auth/two_factor_recovery_code.tmpl b/templates/user/auth/two_factor_recovery_code.tmpl
index a9ed17ee..dfe926a9 100644
--- a/templates/user/auth/two_factor_recovery_code.tmpl
+++ b/templates/user/auth/two_factor_recovery_code.tmpl
@@ -3,7 +3,7 @@
<div class="ui middle very relaxed page grid">
<div class="column">
<form class="ui form" action="{{.Link}}" method="post">
- {{.CsrfTokenHtml}}
+ {{.CSRFTokenHTML}}
<h3 class="ui top attached center header">
{{.i18n.Tr "auth.login_two_factor_recovery"}}
</h3>
diff --git a/templates/user/settings/applications.tmpl b/templates/user/settings/applications.tmpl
index b5bacf77..954b4e78 100644
--- a/templates/user/settings/applications.tmpl
+++ b/templates/user/settings/applications.tmpl
@@ -46,7 +46,7 @@
</h4>
<div class="ui attached segment">
<form class="ui form" action="{{.Link}}" method="post">
- {{.CsrfTokenHtml}}
+ {{.CSRFTokenHTML}}
<p>{{.i18n.Tr "settings.new_token_desc"}}</p>
<div class="field {{if .Err_Name}}error{{end}}">
<label for="name">{{.i18n.Tr "settings.token_name"}}</label>
diff --git a/templates/user/settings/avatar.tmpl b/templates/user/settings/avatar.tmpl
index 93286c49..7ab9c274 100644
--- a/templates/user/settings/avatar.tmpl
+++ b/templates/user/settings/avatar.tmpl
@@ -11,7 +11,7 @@
<div class="ui attached segment">
<form class="ui form" action="{{.Link}}" method="post" enctype="multipart/form-data">
- {{.CsrfTokenHtml}}
+ {{.CSRFTokenHTML}}
{{if not DisableGravatar}}
<div class="inline field">
<div class="ui radio checkbox">
diff --git a/templates/user/settings/delete.tmpl b/templates/user/settings/delete.tmpl
index e49d242c..3004b159 100644
--- a/templates/user/settings/delete.tmpl
+++ b/templates/user/settings/delete.tmpl
@@ -13,7 +13,7 @@
<p class="text left"><i class="octicon octicon-alert"></i> {{.i18n.Tr "settings.delete_prompt" | Str2html}}</p>
</div>
<form class="ui form" id="delete-form" action="{{.Link}}" method="post">
- {{.CsrfTokenHtml}}
+ {{.CSRFTokenHTML}}
<input class="fake" type="password">
<div class="required field {{if .Err_Password}}error{{end}}">
<label for="password">{{.i18n.Tr "password"}}</label>
diff --git a/templates/user/settings/email.tmpl b/templates/user/settings/email.tmpl
index 55814530..7d840bc5 100644
--- a/templates/user/settings/email.tmpl
+++ b/templates/user/settings/email.tmpl
@@ -27,7 +27,7 @@
{{if .IsActivated}}
<div class="ui right">
<form action="{{$.Link}}" method="post">
- {{$.CsrfTokenHtml}}
+ {{$.CSRFTokenHTML}}
<input name="_method" type="hidden" value="PRIMARY">
<input name="id" type="hidden" value="{{.ID}}">
<button class="ui green tiny button">{{$.i18n.Tr "settings.primary_email"}}</button>
@@ -42,7 +42,7 @@
</div>
<div class="ui attached bottom segment">
<form class="ui form" action="{{.Link}}" method="post">
- {{.CsrfTokenHtml}}
+ {{.CSRFTokenHTML}}
<div class="required field {{if .Err_Email}}error{{end}}">
<label for="email">{{.i18n.Tr "settings.add_new_email"}}</label>
<input id="email" name="email" type="email" autofocus required>
diff --git a/templates/user/settings/password.tmpl b/templates/user/settings/password.tmpl
index 644f4f93..8d702f59 100644
--- a/templates/user/settings/password.tmpl
+++ b/templates/user/settings/password.tmpl
@@ -11,7 +11,7 @@
<div class="ui attached segment">
{{if .SignedUser.IsLocal}}
<form class="ui form" action="{{.Link}}" method="post">
- {{.CsrfTokenHtml}}
+ {{.CSRFTokenHTML}}
<div class="required field {{if .Err_OldPassword}}error{{end}}">
<label for="old_password">{{.i18n.Tr "settings.old_password"}}</label>
<input id="old_password" name="old_password" type="password" autofocus required>
diff --git a/templates/user/settings/profile.tmpl b/templates/user/settings/profile.tmpl
index 85c02cca..2952907d 100644
--- a/templates/user/settings/profile.tmpl
+++ b/templates/user/settings/profile.tmpl
@@ -11,7 +11,7 @@
<div class="ui attached segment">
<p>{{.i18n.Tr "settings.profile_desc"}}</p>
<form class="ui form" action="{{.Link}}" method="post">
- {{.CsrfTokenHtml}}
+ {{.CSRFTokenHTML}}
<div class="required field {{if .Err_Name}}error{{end}}">
<label for="username">{{.i18n.Tr "username"}}<span class="text red {{if eq .name .origin_name}}hide{{end}}" id="name-change-prompt"> {{.i18n.Tr "settings.change_username_prompt"}}</span></label>
<input id="username" name="name" value="{{.name}}" data-name="{{.origin_name}}" autofocus required {{if not .SignedUser.IsLocal}}readonly{{end}}>
diff --git a/templates/user/settings/sshkeys.tmpl b/templates/user/settings/sshkeys.tmpl
index 33426fdc..52748750 100644
--- a/templates/user/settings/sshkeys.tmpl
+++ b/templates/user/settings/sshkeys.tmpl
@@ -50,7 +50,7 @@
</h4>
<div class="ui attached segment">
<form class="ui form" action="{{.Link}}" method="post">
- {{.CsrfTokenHtml}}
+ {{.CSRFTokenHTML}}
<div class="field {{if .Err_Title}}error{{end}}">
<label for="title">{{.i18n.Tr "settings.key_name"}}</label>
<input id="title" name="title" value="{{.title}}" autofocus required>
diff --git a/templates/user/settings/two_factor_enable.tmpl b/templates/user/settings/two_factor_enable.tmpl
index 1b981445..aa551aca 100644
--- a/templates/user/settings/two_factor_enable.tmpl
+++ b/templates/user/settings/two_factor_enable.tmpl
@@ -13,7 +13,7 @@
<img src="{{.QRCode}}" alt="{{.TwoFactorSecret}}">
<p>{{.i18n.Tr "settings.two_factor_or_enter_secret"}} <b>{{.TwoFactorSecret}}</b></p>
<form class="ui form" method="post">
- {{.CsrfTokenHtml}}
+ {{.CSRFTokenHTML}}
<div class="required inline field">
<span>{{.i18n.Tr "settings.two_factor_then_enter_passcode"}}</span>
<input class="ui input" name="passcode" autocomplete="off" autofocus required>
diff --git a/templates/user/settings/two_factor_recovery_codes.tmpl b/templates/user/settings/two_factor_recovery_codes.tmpl
index 3f555b4f..5177cf8a 100644
--- a/templates/user/settings/two_factor_recovery_codes.tmpl
+++ b/templates/user/settings/two_factor_recovery_codes.tmpl
@@ -25,7 +25,7 @@
</ul>
<form class="ui form" method="post">
- {{.CsrfTokenHtml}}
+ {{.CSRFTokenHTML}}
<button class="ui blue button">{{.i18n.Tr "settings.two_factor_regenerate_recovery_codes"}}</button>
</form>
</div>