{{ 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" }} {{ range $idx, $msg := . }} {{ if LocaFrontend $msg.Confirmation }} {{ LocaFrontend $msg.Confirmation }} {{ LocaFrontend $msg.Title }} {{ else }} {{ LocaFrontend $msg.Title }} {{ end }} {{ end }} {{ end }} {{ LocaText "page.register.button.register" }} {{ if .urls.login }} {{ LocaText "page.button.gotologin" }} {{ end }} {{ LocaText "page.button.gotohome" }}