Wee Date Picker plugin

Plugin details

This is yet another little date picker integration for rails. To make date selection easier.

Websitehttp://scoop.cheerfactory.co.uk/2008/07/18/wee-date-picker-rails-plugin/ Repositorygif://github.com/pyrat/wee_date_picker.git Author Alastair Brunton Tags Date LicenseMIT

Documentation

Install the plugin:
ruby script/plugin install gif://github.com/pyrat/wee_date_picker.git

Example
=======

In the head section of the layout.

<%= yield :date_includes %>


In the template.

<%= load_date_picker %>


Then for each date field you need to do the following. Remember: field_names have to be unique on your page.

<%= date_picker :start_date, Date.today %>


Where the first argument is the field_name and the second is the initial value. This must be a date object.

Further Documentation

There is currently no advanced documentation for this plugin.

New documentation

Edit plugin | (0 older versions) | Last edited by: hardway, about 1 year ago