daterangepicker for Rails
Add this line to your application's Gemfile:
gem 'bootstrap-daterangepicker-rails'
And then execute:
$ bundle
Or install it yourself as:
$ gem install bootstrap-daterangepicker-rails
IMPORTANT: daterangepicker
depends on moment.js. Don't forget including moment.js
first.
In your application.js
you will need to add this line:
//= require daterangepicker
And in your application.css
you will need to add this line:
*= require daterangepicker
Bug reports and pull requests are welcome on GitHub at https://github.com/inventit/bootstrap-daterangepicker-rails.
The gem is available as open source under the terms of the MIT License.