DatePicker

Attention: legacy code! This plugin is for Prototype.

DatePicker is a drop-in replacement for Rails date and datetime helpers (object-style date_select and datetime_select, and tag helpers select_datetime and select_date). Once installed, all these helpers render a draggable popup Javascript calendar instead of dropdown boxes.

The calendar itself is a heavily modified and refactored version of the simply awesome CalendarView , a calendar based on the Prototype framework .

Take a look how the forked CalendarView looks like here .

To install DatePicker, run the following command:

./script/plugin install  git://github.com/leikind/date_picker.git

To copy the assets to public and the configuration file to config/initializers/:

./script/generate  date_picker_assets

Edit config/initializers/date_picker_config.rb to your taste. Restart the application.

Source

http://github.com/leikind/date_picker