{{.CsrfTokenHtml}}

{{ctx.Locale.Tr "auth.forgot_password_title"}}

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

{{ctx.Locale.Tr "auth.reset_password_mail_sent_prompt" .Email .ResetPwdCodeLives}}

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

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

{{else if .ResendLimited}}

{{ctx.Locale.Tr "auth.resent_limit_prompt"}}

{{end}}