{{.CsrfTokenHtml}}

{{if .LinkAccountMode}} {{.i18n.Tr "auth_link_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 .EnableCaptcha}}
{{.Captcha.CreateHtml}}
{{end}}
{{if not .LinkAccountMode}} {{end}} {{end}}