0
Well, I’ve never done and I’ve searched a lot of sites and I can’t find anything that does what I need. I need to make a modal appear from a link_to, the person when clicking on the link_to opens the modal, thanks.
0
Well, I’ve never done and I’ve searched a lot of sites and I can’t find anything that does what I need. I need to make a modal appear from a link_to, the person when clicking on the link_to opens the modal, thanks.
1
I think the best option is to use bootstrap, take a look at this article:http://www.devmedia.com.br/bootstrap-modal-como-utilizar-em-seus-projetos/37426
0
I found this solution today from idem a need of mine and it worked.
Answer by Boris Bresciani.
<%= link_to 'Click Here', '#myModal', 'data-toggle' => 'modal' %>
Browser other questions tagged ruby-on-rails modal
You are not signed in. Login or sign up in order to post.
See if it helps http://stackoverflow.com/questions/15152486/how-to-add-bootstrap-modal-with-link-to-so-the-link-content-open-in-modal
– user60252