{{ template "index.layout.html" . }} {{ define "page-script" }} {{ end }} {{ define "main" }}
{{ .TestError }} {{ LocaTemplateHTML "page.testDoNotChange" }} {{ htmlComment (LocaTemplateMarkdown "page.testDoNotChange2") }} {{ htmlComment (LocaDate "2023-07-24 17:35:01") }} {{ htmlComment (LocaDateTime "2023-07-24 17:35:01") }} {{ htmlComment .ErrorCode }} {{ $isContainerWide := false }} {{ if or (.Input.Street) (and .Input.FirstName .Input.LastName) }} {{ $isContainerWide = true }} {{ end }}

{{ LocaText "page.register.title" }}

{{ if and .Config .Config.UserRegister.Info }}

{{ LocaFrontend .Config.UserRegister.Info }}

{{ end }}
{{ template "required.partial.html" .Input }} {{ if and .Error (eq .ErrorCode "SelfRegisterNotConfigured") }}

{{ .Error }}

{{ end }} {{ template "formfield" dict "Field" .Input.Email "type" "text" "autocomplete" "email"}} {{ template "formfield" dict "Field" .Input.FirstName "type" "text" "autocomplete" "given-name" }} {{ template "formfield" dict "Field" .Input.LastName "type" "text" "autocomplete" "family-name" }} {{ template "formfield" dict "Field" .Input.Displayname "type" "text" "autocomplete" "username" }} {{ template "formfield" dict "Field" .Input.Company "type" "text" "autocomplete" "organization" }} {{ template "formfield" dict "Field" .Input.Department "type" "text" "autocomplete" }} {{ template "formfield" dict "Field" .Input.Phone "type" "tel" "autocomplete" "tel" }} {{ template "formfield" dict "Field" .Input.Street "type" "text" true "autocomplete" "street-address" }} {{ template "formfield" dict "Field" .Input.HouseNumber "type" "text" "autocomplete" }} {{ template "formfield" dict "Field" .Input.AddressSupplement "type" "text"}} {{ template "formfield" dict "Field" .Input.PostalCode "type" "text" "autocomplete" "postal-code" }} {{ template "formfield" dict "Field" .Input.Town "type" "text" "autocomplete" "address-level2" }} {{ template "formfield" dict "Field" .Input.State "type" "text" "autocomplete" "address-level1" }} {{ template "formfield" dict "Field" .Input.Country "type" "text" "autocomplete" "country-name" }} {{ with .Messages.FilterWebfrontendType "self_register" }}
{{ end }}
{{ if .urls.login }} {{ LocaText "page.button.gotologin" }} {{ end }} {{ LocaText "page.button.gotohome" }}
{{ end }} {{ with .Messages.FilterWebfrontendType "self_register" }} {{ template "popovers.partial.html" . }} {{ end }}