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