I created a short (8 minute) screencast on adding a confirmation dialog to form submissions using BrutRB���s bundled Web Components. You don���t have to write any JavaScript, and you can completely control the look and feel with CSS.
There���s also a tutorial that does the same thing or, if you are super pressed for time:
message="Are you sure?"> Save value="ok"> value="cancel">Nevermind
Progressive enhancement, and no magic attributes on existing elements.
docs docs
Published on August 18, 2025 02:00