Updated UI

This commit is contained in:
2025-07-15 20:28:29 +02:00
parent 5c0bb602f5
commit 39006435b2
11 changed files with 139 additions and 63 deletions

View File

@@ -28,8 +28,6 @@ async fn page(State(state): State<AppState>) -> Result<Markup, AppError> {
.collect();
let content = html! {
h1 class="mb-5" { "New Exercise" }
form hx-post="/exercises/new" class="space-y-1" {
fieldset class="fieldset" {
legend class="fieldset-legend" { "Name" }
@@ -49,7 +47,7 @@ async fn page(State(state): State<AppState>) -> Result<Markup, AppError> {
}
};
Ok(layouts::desktop(content, "New Exercise"))
Ok(layouts::desktop(content, "New Exercise", true))
}
#[derive(Deserialize, Debug)]