We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccb8c96 commit 1e2111cCopy full SHA for 1e2111c
examples/dynamic_user_interface_(htmx)/delete_row/app.py
@@ -17,7 +17,7 @@ def __ft__(self):
17
# By defining this, a `Contact` will show up as a table row automatically
18
return Tr(
19
*map(Td, (self.name, self.email, self.status)),
20
- Td(Button('Delete', cls="btn danger",
+ Td(Button('Delete',
21
hx_delete=delete.to(id=self.id).lstrip('/'),
22
# Give a confirmation prompt before deleting
23
hx_confirm="Are you sure?",
0 commit comments