summaryrefslogtreecommitdiffstats
path: root/templates/user/auth/reset_passwd.tmpl
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2022-08-31 17:58:54 +0200
committerGitHub <noreply@github.com>2022-08-31 17:58:54 +0200
commit647b2649b1600107c5fec3505db691f78b2c1e2a (patch)
treeb3bcaf968426f6ad1ba4fde3e41f3ca3224ec47e /templates/user/auth/reset_passwd.tmpl
parentRemove black labels and CSS cleanup (#21003) (diff)
downloadforgejo-647b2649b1600107c5fec3505db691f78b2c1e2a.tar.xz
forgejo-647b2649b1600107c5fec3505db691f78b2c1e2a.zip
Make sure fmt catches all templates (#20979)
* Make sure fmt catches all templates Make's `wildcard` is not recursive so it missed many template files, fix that by using `find`. * Update Makefile
Diffstat (limited to 'templates/user/auth/reset_passwd.tmpl')
-rw-r--r--templates/user/auth/reset_passwd.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/user/auth/reset_passwd.tmpl b/templates/user/auth/reset_passwd.tmpl
index bba7b2bc4b..e55eb8d330 100644
--- a/templates/user/auth/reset_passwd.tmpl
+++ b/templates/user/auth/reset_passwd.tmpl
@@ -10,10 +10,10 @@
</h2>
<div class="ui attached segment">
{{template "base/alert" .}}
- {{if .user_email }}
+ {{if .user_email}}
<div class="inline field">
<label for="user_name">{{.locale.Tr "email"}}</label>
- <input id="user_name" type="text" value="{{ .user_email }}" disabled>
+ <input id="user_name" type="text" value="{{.user_email}}" disabled>
</div>
{{end}}
{{if .IsResetForm}}
@@ -34,7 +34,7 @@
<h4 class="ui dividing header">
{{.locale.Tr "twofa"}}
</h4>
- <div class="ui warning visible message">{{.locale.Tr "settings.twofa_is_enrolled" | Str2html }}</div>
+ <div class="ui warning visible message">{{.locale.Tr "settings.twofa_is_enrolled" | Str2html}}</div>
{{if .scratch_code}}
<div class="required inline field {{if .Err_Token}}error{{end}}">
<label for="token">{{.locale.Tr "auth.scratch_code"}}</label>