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

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

{{.locale.Tr "auth.disable_register_prompt"}}

{{else}}
{{if not .DisablePassword}}
{{end}} {{if and .EnableCaptcha (eq .CaptchaType "image")}}
{{.Captcha.CreateHTML}}
{{end}} {{if and .EnableCaptcha (eq .CaptchaType "recaptcha")}}
{{end}} {{if and .EnableCaptcha (eq .CaptchaType "hcaptcha")}}
{{end}} {{if and .EnableCaptcha (eq .CaptchaType "mcaptcha")}}
{{.locale.Tr "captcha"}}
{{end}}
{{if not .LinkAccountMode}} {{end}} {{end}}