/bootstrap-daterangepicker-rails

Integrate daterangepicker assets in your Rails asset pipeline

Primary LanguageRubyMIT LicenseMIT

Bootstrap::Daterangepicker::Rails

daterangepicker for Rails

Installation

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

Usage

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

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/inventit/bootstrap-daterangepicker-rails.

License

The gem is available as open source under the terms of the MIT License.