aboutsummaryrefslogtreecommitdiff
path: root/templates/admin
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2017-04-06 17:20:38 -0400
committerUnknwon <u@gogs.io>2017-04-06 17:20:38 -0400
commit2c404daca612b43bd6b0b720d3e732d9550c0eab (patch)
tree3e547af01e8f0176b0e2e5d5a87353649777871d /templates/admin
parent0e271799f2ec744332761cd87fe0d96f4d9653e0 (diff)
pkg/context: rename {CsrfToken, CsrfTokenHtml} -> {CSRFToken, CSRFTokenHTML}
Diffstat (limited to 'templates/admin')
-rw-r--r--templates/admin/auth/edit.tmpl2
-rw-r--r--templates/admin/auth/new.tmpl2
-rw-r--r--templates/admin/config.tmpl2
-rw-r--r--templates/admin/user/edit.tmpl2
-rw-r--r--templates/admin/user/new.tmpl2
5 files changed, 5 insertions, 5 deletions
diff --git a/templates/admin/auth/edit.tmpl b/templates/admin/auth/edit.tmpl
index 0879b274..b06cee8b 100644
--- a/templates/admin/auth/edit.tmpl
+++ b/templates/admin/auth/edit.tmpl
@@ -10,7 +10,7 @@
</h4>
<div class="ui attached segment">
<form class="ui form" action="{{.Link}}" method="post">
- {{.CsrfTokenHtml}}
+ {{.CSRFTokenHTML}}
<input type="hidden" name="id" value="{{.Source.ID}}">
<div class="inline field">
<label>{{$.i18n.Tr "admin.auths.auth_type"}}</label>
diff --git a/templates/admin/auth/new.tmpl b/templates/admin/auth/new.tmpl
index 1edec0cb..db59856f 100644
--- a/templates/admin/auth/new.tmpl
+++ b/templates/admin/auth/new.tmpl
@@ -10,7 +10,7 @@
</h4>
<div class="ui attached segment">
<form class="ui form" action="{{.Link}}" method="post">
- {{.CsrfTokenHtml}}
+ {{.CSRFTokenHTML}}
<!-- Types and name -->
<div class="inline required field {{if .Err_Type}}error{{end}}">
<label>{{.i18n.Tr "admin.auths.auth_type"}}</label>
diff --git a/templates/admin/config.tmpl b/templates/admin/config.tmpl
index 4a95a337..5d10177a 100644
--- a/templates/admin/config.tmpl
+++ b/templates/admin/config.tmpl
@@ -178,7 +178,7 @@
<dt>{{.i18n.Tr "admin.config.mailer_user"}}</dt>
<dd>{{if .Mailer.User}}{{.Mailer.User}}{{else}}(empty){{end}}</dd><br>
<form class="ui form" action="{{AppSubUrl}}/admin/config/test_mail" method="post">
- {{.CsrfTokenHtml}}
+ {{.CSRFTokenHTML}}
<div class="inline field ui left">
<div class="ui input">
<input type="email" name="email" required>
diff --git a/templates/admin/user/edit.tmpl b/templates/admin/user/edit.tmpl
index 34d0da6f..330745ce 100644
--- a/templates/admin/user/edit.tmpl
+++ b/templates/admin/user/edit.tmpl
@@ -10,7 +10,7 @@
</h4>
<div class="ui attached segment">
<form class="ui form" action="{{.Link}}" method="post">
- {{.CsrfTokenHtml}}
+ {{.CSRFTokenHTML}}
<div class="inline field {{if .Err_UserName}}error{{end}}">
<label for="user_name">{{.i18n.Tr "username"}}</label>
<span>{{.User.Name}}</span>
diff --git a/templates/admin/user/new.tmpl b/templates/admin/user/new.tmpl
index 9352eaac..1827d4f4 100644
--- a/templates/admin/user/new.tmpl
+++ b/templates/admin/user/new.tmpl
@@ -10,7 +10,7 @@
</h4>
<div class="ui attached segment">
<form class="ui form" action="{{.Link}}" method="post">
- {{.CsrfTokenHtml}}
+ {{.CSRFTokenHTML}}
<!-- Types and name -->
<div class="inline required field {{if .Err_LoginType}}error{{end}}">
<label>{{.i18n.Tr "admin.users.auth_source"}}</label>