spectrum for Rails
Add this line to your application's Gemfile:
gem 'spectrum-rails'
And then execute:
$ bundle
Or install it yourself as:
$ gem install spectrum-rails
In your application.js
you will need to add this line:
//= require spectrum
And in your application.css
you will need to add this line:
*= require spectrum
If you want to localize, add require jquery.spectrum-{lang}
in addition to require spectrum
.
Bug reports and pull requests are welcome on GitHub at https://github.com/inventit/spectrum-rails.
The gem is available as open source under the terms of the MIT License.