♻️ Macro #[fn_builder] para constructor de páginas

This commit is contained in:
Manuel Cillero 2023-01-28 09:05:10 +01:00
parent 09195c7466
commit f081a00bd4
5 changed files with 38 additions and 76 deletions

View file

@ -38,7 +38,7 @@ impl ModuleTrait for User {
async fn login() -> ResultPage<Markup, FatalError> {
Page::new()
.with_title("Identificación del usuario")
.add_to(
.with_this_in(
"region-content",
Container::new()
.with_id("welcome")