🚧 Redefine action buttons for forms

This commit is contained in:
Manuel Cillero 2023-11-21 21:20:47 +01:00
parent 04aa309fc5
commit 3fd05643b3
7 changed files with 109 additions and 66 deletions

View file

@ -61,5 +61,5 @@ fn form_login() -> Form {
.with_label(L10n::t("password", &LOCALES_USER))
.with_help_text(L10n::t("password_help", &LOCALES_USER)),
)
.with_element(form::Button::submit(L10n::t("login", &LOCALES_USER)))
.with_element(form::ActionButton::submit().with_value(L10n::t("login", &LOCALES_USER)))
}