coreui.io looks great. I'm working currently with https://github.com/almasaeed2010/AdminLTE/tree/v3-dev but v3 (Bootstrap 4) is in Alpha for a long time. Any of these B4 themes out there would be a good choose to see how to:
* integrate with yarn / webpack in a rails 5 app
* customize theme
* add some custom page based vanilla js or jQuery
* use Stimulus.js
Not a ready-to-sale app, just a sample of usage of all of these (and perhaps more) topics
Hi, Dave. In my RoR 5 apps, I use this code (from StackOverflow, I guess :D)
```
$.rails.showConfirmationDialog = function (link) {
const message = link.data('confirm')
return swal(
{
title: message,
type: 'warning',
showCancelButton: true,
reverseButtons: true
}
).then(function (result) {
if (result.value) { return $.rails.confirmed(link) }
})
}
```
As you can see `return $.rails.confirmed(link)` makes the job. It works also with TurboLinks.
I don't know if this code should work with RoR 6.
Interesting. Despite your approach is weird, is good to have a solution for when I upgrade my app to v6.
I need to enhance my js skills before upgrading ;-)