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

@@ -29,8 +29,6 @@ async fn page(State(state): State<AppState>) -> Result<Markup, AppError> {
.await?;
let content = html! {
h1 class="mb-5" { "New Workout" }
div x-data="{ exercises: [] }" {
form hx-post="/workouts/new" class="space-y-1" {
fieldset class="fieldset" {
@@ -132,7 +130,7 @@ async fn page(State(state): State<AppState>) -> Result<Markup, AppError> {
};
Ok(layouts::desktop(content, "New Exercise"))
Ok(layouts::desktop(content, "New Workout", true))
}
#[derive(Deserialize, Debug)]