2018-09-13 17:34:25 +05:30
|
|
|
{{if or (not .LinkAccountMode) (and .LinkAccountMode .LinkAccountModeSignIn)}}
|
|
|
|
{{template "base/alert" .}}
|
|
|
|
{{end}}
|
|
|
|
<h4 class="ui top attached header center">
|
2024-02-22 23:03:22 +05:30
|
|
|
{{ctx.Locale.Tr "settings.update_password"}}
|
2018-09-13 17:34:25 +05:30
|
|
|
</h4>
|
|
|
|
<div class="ui attached segment">
|
2024-03-06 19:50:26 +05:30
|
|
|
<form class="ui form tw-max-w-2xl tw-m-auto" action="{{.ChangePasscodeLink}}" method="post">
|
2018-09-13 17:34:25 +05:30
|
|
|
{{.CsrfTokenHtml}}
|
2024-03-06 19:50:26 +05:30
|
|
|
<div class="required field {{if and (.Err_Password) (or (not .LinkAccountMode) (and .LinkAccountMode .LinkAccountModeSignIn))}}error{{end}}">
|
2023-09-25 14:26:50 +05:30
|
|
|
<label for="password">{{ctx.Locale.Tr "password"}}</label>
|
2020-10-09 13:02:30 +05:30
|
|
|
<input id="password" name="password" type="password" value="{{.password}}" autocomplete="new-password" required>
|
2018-09-13 17:34:25 +05:30
|
|
|
</div>
|
2024-03-06 19:50:26 +05:30
|
|
|
<div class="required field {{if and (.Err_Password) (or (not .LinkAccountMode) (and .LinkAccountMode .LinkAccountModeRegister))}}error{{end}}">
|
2023-09-25 14:26:50 +05:30
|
|
|
<label for="retype">{{ctx.Locale.Tr "re_type"}}</label>
|
2020-10-09 13:02:30 +05:30
|
|
|
<input id="retype" name="retype" type="password" autocomplete="new-password" required>
|
2018-09-13 17:34:25 +05:30
|
|
|
</div>
|
|
|
|
<div class="inline field">
|
2024-02-22 23:03:22 +05:30
|
|
|
<button class="ui primary button">{{ctx.Locale.Tr "settings.update_password"}}</button>
|
2018-09-13 17:34:25 +05:30
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|