News for hackers. Stuff that matters.
Re:Htmx, Rust and Shuttle: A New Rapid Prototyping Stack by mg on Wednesday November 01, 2023 @11:45AM (#38099856)
Hmm.. I don't think you can simplify their example to just that one line. For example, where is the url which is supposed to be requested to delete the item on the server.
Re:Htmx, Rust and Shuttle: A New Rapid Prototyping Stack by naasking on Wednesday November 01, 2023 @11:48AM (#38099912)
Add the hx-post="[url]" attribute.
Re:Htmx, Rust and Shuttle: A New Rapid Prototyping Stack by monknomo on Wednesday November 01, 2023 @11:51AM (#38099982)
good point, though I think hx-delete matches better
Re:Htmx, Rust and Shuttle: A New Rapid Prototyping Stack by monknomo on Wednesday November 01, 2023 @11:50AM (#38099945)
You are right! There would need to be more.

but also, I'm not trying to provide a complete solution, just a direction to look in.