seyhunak / twitter-bootstrap-rails

Twitter Bootstrap for Rails 6.0, Rails 5 - Rails 4.x Asset Pipeline
https://github.com/seyhunak/twitter-bootstrap-rails
4.49k stars 997 forks source link

Examples on how to use the modal_helpers would be really helpful and quite nice. #660

Closed maxkerp closed 10 years ago

maxkerp commented 11 years ago

Hi, i can't find examples of how to use the modal_helpers on the net and i can't seem to find a way to get in contact with you. Sorry, if this is not the right place for this, but i guess you can just delete the issue if this is not the right place for stuff like that.

JohnRomanski commented 11 years ago

Have you tried the source code here? https://github.com/seyhunak/twitter-bootstrap-rails#modal-helper do the simplest thing you can and review the code generated. if it doesn't work, make sure that the JS library is included.

sam452 commented 11 years ago

Using the modal example indicated is nice but doesn't work for me. When you say that the JS library is included, do you mean something like the gem 'jquery-rails' or that the application.js requires twitter/bootstrap? Wondering if I'm overlooking something.

JohnRomanski commented 11 years ago

Both of those files are required. Are you double including jquery? Is the code posted somewhere?

toadkicker commented 10 years ago

Closing issue due to no activity, please reopen if you need help.