{{.CsrfTokenHtml}}

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

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

{{.i18n.Tr "auth.disable_register_prompt"}}

{{else}}
{{if and .EnableCaptcha (eq .CaptchaType "image")}}
{{.Captcha.CreateHtml}}
{{end}} {{if and .EnableCaptcha (eq .CaptchaType "recaptcha")}}
{{end}}
{{if not .LinkAccountMode}} {{end}} {{end}}