Skip to content

Commit 1e2111c

Browse files
committed
Small cleanup
1 parent ccb8c96 commit 1e2111c

File tree

1 file changed

+1
-1
lines changed
  • examples/dynamic_user_interface_(htmx)/delete_row

1 file changed

+1
-1
lines changed

examples/dynamic_user_interface_(htmx)/delete_row/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def __ft__(self):
1717
# By defining this, a `Contact` will show up as a table row automatically
1818
return Tr(
1919
*map(Td, (self.name, self.email, self.status)),
20-
Td(Button('Delete', cls="btn danger",
20+
Td(Button('Delete',
2121
hx_delete=delete.to(id=self.id).lstrip('/'),
2222
# Give a confirmation prompt before deleting
2323
hx_confirm="Are you sure?",

0 commit comments

Comments
 (0)