diff --git a/ch06-more-htmx-patterns.typ b/ch06-more-htmx-patterns.typ index 0224842..bb2a7a0 100644 --- a/ch06-more-htmx-patterns.typ +++ b/ch06-more-htmx-patterns.typ @@ -1301,7 +1301,7 @@ looks like: def contacts_delete_all(): contact_ids = [ int(id) - for id in request.form.getlist("selected_contact_ids") + for id in request.args.getlist("selected_contact_ids") ] <2> for contact_id in contact_ids: <3> contact = Contact.find(contact_id)