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

{{if .LinkAccountMode}} {{.locale.Tr "auth.oauth_signin_title"}} {{else}} {{.locale.Tr "auth.login_userpass"}} {{end}}

{{.CsrfTokenHtml}}
{{if or (not .DisablePassword) .LinkAccountMode}}
{{end}} {{if not .LinkAccountMode}}
{{end}} {{template "user/auth/captcha" .}}
{{.locale.Tr "auth.forgot_password"}}
{{if .ShowRegistrationButton}} {{end}} {{if and .OrderedOAuth2Names .OAuth2Providers}}
{{end}}