{{.CsrfTokenHtml}}

{{.locale.Tr "auth.forgot_password_title"}}

{{template "base/alert" .}} {{if .IsResetSent}}

{{.locale.Tr "auth.reset_password_mail_sent_prompt" (Escape .Email) .ResetPwdCodeLives | Str2html}}

{{else if .IsResetRequest}}
{{else if .IsResetDisable}}

{{if $.IsAdmin}} {{.locale.Tr "auth.disable_forgot_password_mail_admin"}} {{else}} {{.locale.Tr "auth.disable_forgot_password_mail"}} {{end}}

{{else if .ResendLimited}}

{{.locale.Tr "auth.resent_limit_prompt"}}

{{end}}