Sam did something

This commit is contained in:
2026-05-13 13:31:56 +02:00
parent 52387f7333
commit c6a4a24fb6
3 changed files with 16 additions and 0 deletions

View File

@@ -328,6 +328,8 @@ pub fn login_component() -> Html {
};
html! {
<div>
<h1 class="headline">{ "Anmeldung" }</h1>
<form {onsubmit}>
<input
placeholder="username"
@@ -349,6 +351,7 @@ pub fn login_component() -> Html {
<button type="submit" disabled={*loading}>{ if *loading { "Logging in..." } else { "Login" } }</button>
if !error.is_empty() { <p style="color:red">{(*error).clone()}</p> }
</form>
</div>
}
}