description = "Register a new user account with multi-language support"
locale = "es-ES"
name = "user_registration"

[[items]]
border_bottom = true
border_top = true
i18n = true
name = "header"
title = "forms.registration.title"
type = "header"

[[items]]
content = "Complete the form to create your account"
name = "description"
type = "section"

[[fields]]
i18n = true
name = "username"
placeholder = "forms.registration.username-placeholder"
prompt = "forms.registration.username-prompt"
required = true
type = "text"

[[fields]]
i18n = true
name = "email"
placeholder = "forms.registration.email-placeholder"
prompt = "forms.registration.email-prompt"
required = true
type = "text"

[[fields]]
i18n = true
name = "role"
options = [
  { value = "admin", label = "forms.registration.roles.admin" },
  { value = "user", label = "forms.registration.roles.user" },
  { value = "guest", label = "forms.registration.roles.guest" },
]
prompt = "forms.registration.role-prompt"
required = true
type = "select"

[[fields]]
default = false
i18n = true
name = "agree_terms"
prompt = "forms.registration.registration-confirm-prompt"
required = true
type = "confirm"

[[items]]
border_top = true
content = "Your data will be securely stored and protected."
name = "footer"
type = "footer"
