This is an example ruby on rails app that shows how you can build "remote modals" (where the content is requested to the server), submit forms and handle erors, using Hotwire and bootstrap.
- Ruby: 3.1.2
- Rails: 7.0.8
- Turbo rails: 1.0.0
- Stimulus rails: 1.0.2
- Bootstrap: 5.1.3
Here is a video showing the example: