{{define "user/password.html"}} {{template "user/layout_head" .}}
{{template "user_pagehead" (dict "Icon" "bx-lock-alt" "Title" (Tp "user_password" "user_password_title") "Desc" (Tp "user_password" "user_password_page_hint"))}} {{with index .Data "OkMsg"}}
{{.}}
{{end}} {{with index .Data "ErrMsg"}}
{{.}}
{{end}}

{{Tp "user_password" "user_password_title"}}

{{Tp "user_password" "user_password_hint"}}

{{if index .Data "OAuthReady"}}

{{T "oauth.bind_title"}}

{{T "oauth.bind_hint"}}

{{if index .Data "OAuthLinked"}} {{T "oauth.status_linked"}}{{if index .Data "OAuthProvider"}} — {{index .Data "OAuthProvider"}}{{end}} {{else}} {{T "oauth.status_none"}} {{end}}
{{end}}
{{template "user/layout_foot" .}} {{end}}