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

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

{{T "oauth_sso_register_hint"}}

{{T "oauth_retry"}}

{{T "oauth_back_home"}}

{{else}} {{if index .Data "OAuthHybrid"}} {{T "oauth_register_button"}}

{{T "oauth_or_local_register"}}

{{end}}
{{T

{{T "register_has_account"}} {{T "register_go_login"}}

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