No commit activity in last 3 years
No release in over 3 years
A plugin for formtastic to integrate calendar_date_select date/time picker
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0, = 0.9.7
 Project Readme

FormtasticCalendarDateSelect

Based on Paul Smith’s Formtastic_Calendar (http://github.com/elandesign/formtastic_calendar), an extension for Formtastic1 to generate lightweight javascript calendar date inputs using the CalendarDateSelect plugin2

Example

Where Task#due_date is a :date field

<% semantic_form_for @task do |form| %>
  <% form.inputs do %>
    <%= form.input :due_date, :as => :calendardateselect %>
  <% end %>
<% end %>

Dependencies

You must have the formtastic gem/plugin added to your application.

You must have the calendar_date_select gem/plugin added to your application.

(Tested with formtastic 0.9.7 and calendar_date_select 1.15)

Installation

Install as a gem

Add to environment.rb: config.gem “formtastic_calendar_date_select”, :source=>"http://gemcutter.org"

rake gems:install

Install as plugin

script/plugin install git://github.com/dyohi/formtastic_calendar_date_select

References

1 Formtastic @ GitHub

2 CalendarDateSelect

Copyright © 2009 David Oshiro, released under the MIT license