Skip to content

chilian/rails-bootstrap-daterangepicker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0a59c8c · Oct 11, 2018

History

13 Commits
May 25, 2018
Mar 28, 2014
May 25, 2018
May 26, 2014
May 26, 2014
Mar 28, 2014
May 26, 2014
May 26, 2014
May 25, 2018
May 25, 2018

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.