Well, I've never done it and I've searched a lot of sites and can not find anything that does what I need. I need to make a modal popup appear from a link_to, the person when clicking the link_to opens the modal, thanks.
Well, I've never done it and I've searched a lot of sites and can not find anything that does what I need. I need to make a modal popup appear from a link_to, the person when clicking the link_to opens the modal, thanks.
I think the best option is to use the bootstrap, take a look at this article: link
I found this solution today from my own need and it worked.
Boris Bresciani's answer.
<%= link_to 'Click Here', '#myModal', 'data-toggle' => 'modal' %>