{{define "public/register.html"}} {{template "public_favicon_link" .}} {{.Title}} - {{T "site_name"}} {{template "public/privacy_mask_css" .}} {{template "custom-head-embed" .}} {{template "public/header_frag" .}}

{{Tp "public_register" "register_title"}}

{{T "site_name"}}

{{if index .Data "Err"}}
{{index .Data "Err"}}
{{end}} {{if and (not .User) (index .Data "OAuthSessionProbe")}} {{end}} {{if index .Data "SSORegisterOnly"}}

{{Tp "public_register" "oauth_sso_register_hint"}}

{{T "oauth_retry"}}

{{T "oauth_back_home"}}

{{else}} {{if index .Data "OAuthHybrid"}} {{Tp "public_register" "oauth_register_button"}}

{{Tp "public_register" "oauth_or_local_register"}}

{{end}}
captcha

{{T "login_title"}}

{{end}}
{{template "public/footer_frag" .}} {{template "public/footer_frag" .}} {{template "public/privacy_mask_js" .}} {{end}}