Bootstrap Modal & rails remote

Posted by Kevin Brown on Stack Overflow See other posts from Stack Overflow or by Kevin Brown
Published on 2013-06-29T04:14:52Z Indexed on 2013/06/29 4:21 UTC
Read the original article Hit count: 238

Filed under:
|
|

Using this bootstrap modal extension and animate.css for fun, how can I take a make an easy ajax modal using :remote => true to fill in the modal box?

Also, how would I use the bootstrap modal default "submit/cancel" buttons to interact with a form that's loaded?

I'm looking for a more dynamic solution instead of hard-html-ing every modal into the page or using a bunch of jquery ajax calls for each dialog.

I've done a few quick searches, but they've turned up nil for this particular solution.

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about modal