|
|
|
@ -14,15 +14,15 @@ |
|
|
|
|
{{.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> |
|
|
|
|
<input id="old_password" name="old_password" type="password" autocomplete="off" autofocus required> |
|
|
|
|
</div> |
|
|
|
|
<div class="required field {{if .Err_Password}}error{{end}}"> |
|
|
|
|
<label for="password">{{.i18n.Tr "settings.new_password"}}</label> |
|
|
|
|
<input id="password" name="password" type="password" required> |
|
|
|
|
<input id="password" name="password" type="password" autocomplete="off" required> |
|
|
|
|
</div> |
|
|
|
|
<div class="required field {{if .Err_Password}}error{{end}}"> |
|
|
|
|
<label for="retype">{{.i18n.Tr "settings.retype_new_password"}}</label> |
|
|
|
|
<input id="retype" name="retype" type="password" required> |
|
|
|
|
<input id="retype" name="retype" type="password" autocomplete="off" required> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="field"> |
|
|
|
@ -33,7 +33,7 @@ |
|
|
|
|
<div class="ui info message"> |
|
|
|
|
<p class="text left">{{$.i18n.Tr "settings.password_change_disabled"}}</p> |
|
|
|
|
</div> |
|
|
|
|
{{end}} |
|
|
|
|
{{end}} |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|