{{template "base/head" .}}
{{template "user/settings/navbar" .}}
{{template "base/alert" .}}

{{.i18n.Tr "settings.password"}}

{{if or (.SignedUser.IsLocal) (.SignedUser.IsOAuth2)}}
{{.CsrfTokenHtml}} {{if .SignedUser.IsPasswordSet}}
{{end}}
{{.i18n.Tr "auth.forgot_password"}}
{{else}}

{{$.i18n.Tr "settings.password_change_disabled"}}

{{end}}

{{.i18n.Tr "settings.manage_emails"}}

{{.CsrfTokenHtml}}

{{.i18n.Tr "settings.manage_themes"}}

{{.i18n.Tr "settings.delete_account"}}

{{svg "octicon-alert" 16}} {{.i18n.Tr "settings.delete_prompt" | Str2html}}

{{.CsrfTokenHtml}}
{{.i18n.Tr "settings.confirm_delete_account"}}
{{.i18n.Tr "auth.forgot_password"}}
{{template "base/footer" .}}