summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMark Heptinstall <mheptinstall@gmail.com>2024-02-19 15:02:05 +0000
committerGitHub <noreply@github.com>2024-02-19 10:02:05 -0500
commit0355af9c8ad98a41746de1f182d7ccf0b47c954e (patch)
tree28f2e3a0d78478fc31c3517d2caa2e0fc2513788
parentaaf634fb1ce139f6e47e7bb312154a30d62fc807 (diff)
downloadhtmx-0355af9c8ad98a41746de1f182d7ccf0b47c954e.tar.gz
htmx-0355af9c8ad98a41746de1f182d7ccf0b47c954e.zip
Show hx attributes used in bulk-update code example (#2274)
-rw-r--r--www/content/examples/bulk-update.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/www/content/examples/bulk-update.md b/www/content/examples/bulk-update.md
index 972d6372..85710b8e 100644
--- a/www/content/examples/bulk-update.md
+++ b/www/content/examples/bulk-update.md
@@ -8,7 +8,10 @@ accomplished by putting a form around a table, with checkboxes in the table, and
values in the form submission (`POST` request):
```html
-<form id="checked-contacts">
+<form id="checked-contacts"
+ hx-post="/users"
+ hx-swap="outerHTML settle:3s"
+ hx-target="#toast">
<table>
<thead>
<tr>