Unobtrusive Javascript Date-Picker plugin

Plugin details

A helper for creating a date or date-time picker that adds a clickable calendar image that will bring up a calendar picker if javascript is available.

The two main form helper methods are unobtrusive_date_picker and unobtrusive_datetime_picker.

Websitehttp://code.google.com/p/rails-unobtrusive-date-picker/source Repositoryhttp://rails-unobtrusive-date-picker.googlecode.com/svn/trunk/unobtrusive_date_picker/ Author Brian Landau Tags Javascript, date-picker, Calendar, ujs, form helper LicenseMIT

Documentation

Install the plugin:
ruby script/plugin install http://rails-unobtrusive-date-picker.googlecode.com/svn/trunk/unobtrusive_date_picker/
<% form_for :article, :url => { :action => @form_action, :id => @article } do |f| %>

   ...
   Date: <%= f.unobtrusive_datetime_picker :date %>
   ...

<% end %>



Further Documentation

Edit plugin | (0 older versions) | Last edited by: brianjlandau, 5 months ago