MultiDatesPicker::Rails
Rails gem for MultiDatesPicker (http://multidatespickr.sourceforge.net/)
Installation
Add this line to your application's Gemfile:
gem 'multiple-dates-picker-rails'
And then execute:
$ bundle
Or install it yourself as:
$ gem install multiple-dates-picker-rails
Usage
You must already have jquery-ui installed.
Then add this to your application.js:
//= require jquery-ui.multidatespicker
And this to your application.css:
*= require mdp.css
And activate it like this:
$("#dates_field").multiDatesPicker()
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request