(examples): Añade ejemplo de formulario

Corrige referencia errónea a `form::input::Field` en ejemplo de Form.
This commit is contained in:
Manuel Cillero 2026-05-02 12:03:23 +02:00 committed by Manuel Cillero
parent 4b50e043e0
commit 8856699c3b
4 changed files with 605 additions and 1 deletions

View file

@ -0,0 +1,74 @@
title = Form controls
slogan = Bootsier form components showcase
block_selections = Checkboxes, switches and radio buttons
block_text = Text fields, multiline and range
block_lists = Select lists and floating labels
fieldset_text = Text fields
label_name = Full name
placeholder_name = e.g.: Jane Smith
label_email = Email address
placeholder_email = user@example.com
label_password = Password
label_phone = Phone number
placeholder_phone = +1 555 000 0000
label_url = Website
placeholder_url = https://example.com
label_search = Search
placeholder_search = Search term...
fieldset_textarea = Multiline text
label_comment = Comment
placeholder_comment = Write your comment here...
help_comment = Maximum 500 characters.
fieldset_select = Selection lists
label_language = Language
label_country = Country
label_technologies = Preferred technologies
help_technologies = Hold Ctrl (or Cmd on Mac) to select multiple options.
select_choose = — Choose an option —
select_group_europe = Europe
select_spanish = Spanish
select_french = French
select_group_americas = Americas
select_english = English
select_portuguese = Portuguese
select_disabled = Not available
select_germany = Germany
select_spain = Spain
select_france = France
select_portugal = Portugal
fieldset_checkbox = Checkboxes and switches
desc_checkbox = This group shows standard checkboxes, inline checkboxes, reverse-aligned options, and toggle switches for binary choices.
label_terms = I accept the terms and conditions
label_marketing = Commercial emails (inline)
label_newsletter = Newsletter (inline)
label_notifications = Enable notifications (reverse)
label_dark_mode = Dark mode (unavailable)
fieldset_radio = Radio buttons
label_frequency = Newsletter frequency
radio_daily = Daily
radio_weekly = Weekly
radio_monthly = Monthly
radio_never = Never (disabled)
fieldset_checkgroup = Checkbox group
label_interests = Areas of interest
help_interests = Select all options that apply.
check_rust = Rust programming
check_web = Web development
check_ai = Artificial intelligence
check_games = Game development (disabled)
fieldset_floating = Floating labels
fieldset_range = Slider
label_rating = Overall rating
help_rating = From 1 (very poor) to 10 (excellent).
btn_submit = Submit
btn_reset = Reset
btn_cancel = Cancel

View file

@ -0,0 +1,74 @@
title = Controles de formulario
slogan = Componentes Bootsier para formularios
block_selections = Casillas, interruptores y botones de opción
block_text = Campos de texto, multilínea y rango
block_lists = Listas de selección y etiquetas flotantes
fieldset_text = Campos de texto
label_name = Nombre completo
placeholder_name = Ej.: Ana García
label_email = Correo electrónico
placeholder_email = usuario@ejemplo.com
label_password = Contraseña
label_phone = Teléfono
placeholder_phone = +34 600 000
label_url = Sitio web
placeholder_url = https://ejemplo.com
label_search = Búsqueda
placeholder_search = Término de búsqueda...
fieldset_textarea = Texto multilínea
label_comment = Comentario
placeholder_comment = Escribe tu comentario aquí...
help_comment = Máximo 500 caracteres.
fieldset_select = Listas de selección
label_language = Idioma
label_country = País
label_technologies = Tecnologías preferidas
help_technologies = Mantén Ctrl (o Cmd en Mac) para seleccionar varias opciones.
select_choose = — Elige una opción —
select_group_europe = Europa
select_spanish = Español
select_french = Francés
select_group_americas = América
select_english = Inglés
select_portuguese = Portugués
select_disabled = No disponible
select_germany = Alemania
select_spain = España
select_france = Francia
select_portugal = Portugal
fieldset_checkbox = Casillas e interruptores
desc_checkbox = Este grupo muestra casillas de verificación estándar, casillas en línea, opciones alineadas a la derecha e interruptores para elecciones binarias.
label_terms = Acepto los términos y condiciones
label_marketing = Emails comerciales (en línea)
label_newsletter = Boletín (en línea)
label_notifications = Activar notificaciones (invertida)
label_dark_mode = Modo oscuro (no disponible)
fieldset_radio = Botones de opción
label_frequency = Frecuencia del boletín
radio_daily = Diario
radio_weekly = Semanal
radio_monthly = Mensual
radio_never = Nunca (deshabilitado)
fieldset_checkgroup = Grupo de casillas
label_interests = Áreas de interés
help_interests = Selecciona todas las opciones que correspondan.
check_rust = Programación en Rust
check_web = Desarrollo web
check_ai = Inteligencia artificial
check_games = Desarrollo de videojuegos (deshabilitado)
fieldset_floating = Etiquetas flotantes
fieldset_range = Control deslizante
label_rating = Valoración general
help_rating = De 1 (muy malo) a 10 (excelente).
btn_submit = Enviar
btn_reset = Restablecer
btn_cancel = Cancelar