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