Sunday, October 14, 2007

Extremely Simple Calendar Integration for Rails

Finally found a calendar that is very easy to install and use. Nice calendar. I had to change the width for the select in css to 60px, since I am displaying time also. The syntax:

<%= calendar_date_select_tag "event[departure]",
@event.departure.to_s,
:time => true %>

No comments:

Post a Comment