You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

change_passwd_inner.tmpl 1.1KB

1234567891011121314151617181920212223242526
  1. {{if or (not .LinkAccountMode) (and .LinkAccountMode .LinkAccountModeSignIn)}}
  2. {{template "base/alert" .}}
  3. {{end}}
  4. <h4 class="ui top attached header center">
  5. {{.i18n.Tr "settings.change_password"}}
  6. </h4>
  7. <div class="ui attached segment">
  8. <form class="ui form" action="{{.ChangePasscodeLink}}" method="post">
  9. {{.CsrfTokenHtml}}
  10. <div class="required inline field {{if and (.Err_Password) (or (not .LinkAccountMode) (and .LinkAccountMode .LinkAccountModeSignIn))}}error{{end}}">
  11. <label for="password">{{.i18n.Tr "password"}}</label>
  12. <input id="password" name="password" type="password" value="{{.password}}" autocomplete="new-password" required>
  13. </div>
  14. <div class="required inline field {{if and (.Err_Password) (or (not .LinkAccountMode) (and .LinkAccountMode .LinkAccountModeRegister))}}error{{end}}">
  15. <label for="retype">{{.i18n.Tr "re_type"}}</label>
  16. <input id="retype" name="retype" type="password" autocomplete="new-password" required>
  17. </div>
  18. <div class="inline field">
  19. <label></label>
  20. <button class="ui green button">{{.i18n.Tr "settings.change_password" }}</button>
  21. </div>
  22. </form>
  23. </div>