feat: Begins po detail.

This commit is contained in:
2025-01-10 17:13:43 -05:00
parent 455287fe1c
commit 59b6d46606
8 changed files with 156 additions and 7 deletions

View File

@@ -49,7 +49,7 @@ struct UserFormCTX: Content {
htmxForm: .init(
formClass: "user-form",
formId: "user-form",
htmxTargetUrl: .post("/login\(next != nil ? "?next=\(next!)" : "")"),
htmxTargetUrl: .post("/login\((next != nil && next != "/") ? "?next=\(next!)" : "")"),
htmxTarget: "body",
htmxPushUrl: true,
htmxResetAfterRequest: true,