{{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 and .OrderedOAuth2Names .OAuth2Providers}}

{{.i18n.Tr "sign_in_with"}}

{{range $key := .OrderedOAuth2Names}} {{$provider := index $.OAuth2Providers $key}} {{$provider.DisplayName}}{{if eq $provider.Name {{end}}
{{end}}