feat: Adds view route parsing tests.

This commit is contained in:
2025-01-20 10:51:07 -05:00
parent 2de85ed758
commit affd9b5d81
14 changed files with 552 additions and 59 deletions

View File

@@ -28,10 +28,6 @@ struct UserForm: HTML, Sendable {
.afterRequest,
.ifSuccessful(.resetForm, .toggleContent(.float))
)
// .custom(
// name: "hx-on::after-request",
// value: "if(event.detail.successful) this.reset(); toggleContent('float');"
// )
) {
if case let .login(next) = context, let next {
input(.type(.hidden), .name("next"), .value(next))