💄 (user): Unifica botoneras y enlaces de vuelta

- "Guardar" y "Cancelar" en la misma fila en todos los formularios.
- "Volver" sólo en fichas de sólo lectura.
- Búsqueda de usuarios con `form::input::Field` y botones de alta en
  estilo principal.
This commit is contained in:
Manuel Cillero 2026-11-09 23:04:59 +01:00
parent 698b917fb1
commit bdc94be92a
15 changed files with 115 additions and 114 deletions

View file

@ -87,7 +87,10 @@ impl Component for UserTable {
Ok(html! {
div (self.props().unpack(cx)) {
(Button::anchor(Lc::t("btn-create-user", &LOCALES_USER), new_href).render(cx).await)
(Button::anchor(Lc::t("btn-create-user", &LOCALES_USER), new_href)
.with_style(button::Style::Solid(Intent::Primary))
.render(cx)
.await)
(table.render(cx).await)
(pager)
}