aboutsummaryrefslogtreecommitdiffstats
path: root/templates/user
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2023-07-09 22:33:25 +0200
committerGitHub <noreply@github.com>2023-07-09 20:33:25 +0000
commit61e0d1a767e1a1a509de9de4aff42bdb79cc6443 (patch)
tree26b33e39b0a29493abfc93343cc0332bcf5b661e /templates/user
parentbe23b73e8523738a1d3c214a01c0f162146da1c0 (diff)
downloadgitea-61e0d1a767e1a1a509de9de4aff42bdb79cc6443.tar.gz
gitea-61e0d1a767e1a1a509de9de4aff42bdb79cc6443.zip
Enable H014 and H023 djlint rules (#25786)
Enable these rules: - H014 | More than 2 blank lines. - H023 | Do not use entity references. There are more potential rules to enable but they are blocked by bugs in the linter: - https://github.com/Riverside-Healthcare/djLint/issues/711 - https://github.com/Riverside-Healthcare/djLint/issues/712
Diffstat (limited to 'templates/user')
-rw-r--r--templates/user/auth/change_passwd_inner.tmpl3
1 files changed, 0 insertions, 3 deletions
diff --git a/templates/user/auth/change_passwd_inner.tmpl b/templates/user/auth/change_passwd_inner.tmpl
index 4b18ac944f..40281f8578 100644
--- a/templates/user/auth/change_passwd_inner.tmpl
+++ b/templates/user/auth/change_passwd_inner.tmpl
@@ -11,13 +11,10 @@
<label for="password">{{.locale.Tr "password"}}</label>
<input id="password" name="password" type="password" value="{{.password}}" autocomplete="new-password" required>
</div>
-
-
<div class="required inline field {{if and (.Err_Password) (or (not .LinkAccountMode) (and .LinkAccountMode .LinkAccountModeRegister))}}error{{end}}">
<label for="retype">{{.locale.Tr "re_type"}}</label>
<input id="retype" name="retype" type="password" autocomplete="new-password" required>
</div>
-
<div class="inline field">
<label></label>
<button class="ui green button">{{.locale.Tr "settings.change_password"}}</button>