BetterSelect (for Rails)
Easily get better HTML Select elements into your rails projects.
Installation
Add this line to your application's Gemfile:
gem 'better_select'
Or install it yourself as:
$ gem install better_select
And then execute:
$ bundle
Add to application.js:
//= require 'better-select'
Add to any stylesheet:
@import 'better-select';
Usage
See https://github.com/benastan/better_select for detailed usage.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request