{{if or (not .LinkAccountMode) (and .LinkAccountMode .LinkAccountModeSignIn)}} {{template "base/alert" .}} {{end}}

{{.i18n.Tr "auth.login_userpass"}}

{{.CsrfTokenHtml}}
{{if not .LinkAccountMode}}
{{end}}
{{.i18n.Tr "auth.forgot_password"}}
{{if .ShowRegistrationButton}} {{end}} {{if .OAuth2Providers}}

{{.i18n.Tr "sign_in_with"}}

{{range $key, $value := .OAuth2Providers}}{{$value.DisplayName}}{{end}}
{{end}}