Updated UI
This commit is contained in:
@@ -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)]
|
||||
|
Reference in New Issue
Block a user