feat: Adds reset password views and view routes.
This commit is contained in:
@@ -49,7 +49,10 @@ struct UserDetail: HTML, Sendable {
|
||||
)
|
||||
// TODO: trigger the reset password route.
|
||||
button(
|
||||
.class("btn-primary")
|
||||
.class("btn-primary"),
|
||||
.hx.target(.id(.float)),
|
||||
.hx.get(route: .resetPassword(.index(id: user.id))),
|
||||
.hx.trigger(.event(.click))
|
||||
) { "Reset Password" }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user