#rails-bootstrap-daterangepicker
The rails-bootstrap-daterangepicker
gem integrates the bootstrap-daterangepicker jQuery plugin with the Rails asset pipeline.
Add rails-bootstrap-daterangepicker
to your Gemfile and run bundle install
:
gem "rails-bootstrap-daterangepicker"
Add the following to your app/assets/javascripts/application.js
:
//= require moment
//= require bootstrap-daterangepicker
Add to your app/assets/stylesheets/application.css
:
*= require bootstrap-daterangepicker-3
Or if you are using Twitter Boostrap 2 you need to require the following file instead:
*= require bootstrap-daterangepicker-2
If you want to contribute, please:
- Fork the project.
- Make your feature addition or bug fix.
- Send me a pull request on Github.
rails-bootstrap-daterangepicker is released under the MIT License.