Skip to content

chilian/rails-bootstrap-daterangepicker

Repository files navigation

#rails-bootstrap-daterangepicker

Improvely.com

The rails-bootstrap-daterangepicker gem integrates the bootstrap-daterangepicker jQuery plugin with the Rails asset pipeline.

Usage

GitHub version

Install the rails-bootstrap-daterangepicker gem

Add rails-bootstrap-daterangepicker to your Gemfile and run bundle install:

gem "rails-bootstrap-daterangepicker"

Include rails-bootstrap-daterangepicker javascript assets

Add the following to your app/assets/javascripts/application.js:

//= require moment
//= require bootstrap-daterangepicker

Include rails-bootstrap-daterangepicker stylesheet assets

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

Contributions

If you want to contribute, please:

  • Fork the project.
  • Make your feature addition or bug fix.
  • Send me a pull request on Github.

License

rails-bootstrap-daterangepicker is released under the MIT License.

About

Date Range Picker Gem for Bootstrap

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages