feat: Begins vendor views
This commit is contained in:
@@ -44,15 +44,12 @@ struct UserTable: HTML {
|
||||
td { user.username }
|
||||
td { user.email }
|
||||
td {
|
||||
button(
|
||||
Button.detail().attributes(
|
||||
.hx.get("/users/\(user.id.uuidString)"),
|
||||
.hx.target("#float"),
|
||||
.hx.swap(.outerHTML),
|
||||
.hx.pushURL(true),
|
||||
.class("btn-detail")
|
||||
) {
|
||||
"〉"
|
||||
}
|
||||
.hx.pushURL(true)
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user