Just a Gemified version of chosen-sass-bootstrap, by @joeylomanto. Uses chosen-rails, by @tsechingho.
Add this line to your application's Gemfile:
gem 'chosen-sass-bootstrap-rails'
And then execute:
$ bundle
Or install it yourself as:
$ gem install chosen-sass-bootstrap-rails
Follow the jquery-rails
instructions (https://github.com/tsechingho/chosen-rails),
specifically include the chosen javascript assets and enable chosen javascript.
Include the chosen stylesheet assets but use require chosen_bootstrap
instead of
require chosen
in your application.css
and you are ready to go.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request