{{if .LinkAccountMode}} {{ctx.Locale.Tr "auth.oauth_signup_title"}} {{else}} {{ctx.Locale.Tr "sign_up"}} {{end}}

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

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

{{else}}
{{if not .DisablePassword}}
{{end}} {{template "user/auth/captcha" .}}
{{if not .LinkAccountMode}} {{end}} {{end}} {{if .OAuth2Providers}}
{{ctx.Locale.Tr "sign_in_or"}}
{{end}}