{{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" .}}
{{end}} {{template "user/auth/oauth_container" .}}
{{if not .LinkAccountMode}}
{{ctx.Locale.Tr "auth.hint_login" (printf "%s/user/login" AppSubUrl)}}
{{end}}