{{.CsrfTokenHtml}}

{{.i18n.Tr "sign_up"}}

{{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}}