(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

@ -23,7 +23,7 @@ use crate::theme::form;
/// .with_id("search")
/// .with_action("/search")
/// .with_method(form::Method::Get)
/// .with_child(form::Input::search().with_name("q"));
/// .with_child(form::input::Field::search().with_name("q"));
/// ```
#[derive(AutoDefault, Clone, Debug, Getters)]
pub struct Form {