Calendar Date Select plugin
Plugin details
Documentation
Install the plugin:
ruby script/plugin install http://calendardateselect.googlecode.com/svn/tags/calendar_date_select/
Then include this at the top of your layout: (you'll also need to include prototype, if you haven't already!)
<%= javascript_include_tag "calendar_date_select" %> <%= stylesheet_link_tag "calendar_date_select" %>
Embedded Calendar
<%= calendar_date_select_tag "e_date", nil, :embedded => true %>
Embedded Calendar with time
<%= calendar_date_select_tag "e_date", nil, :embedded => true, :time => true %>
Popup Calendar
<%= calendar_date_select_tag "e_date" %>
Popup Calendar with time
<= calendar_date_select_tag "p_date_and_time", "January 2, 2007 5:45 pm", :time => true %>
Form builder integration
<%@listing = Listing.new @listing.follow_up_reminder_on = "Apr 27, 2007 5:00 pm"%> <%= calendar_date_select :listing, :follow_up_reminder_on %>
Further Documentation
There is currently no advanced documentation for this plugin.
New documentationEdit plugin | (0 older versions) | Last edited by: Guest, 8 months ago

