[Rails] how to use datepicker
Akbar
akbarhome at gmail.com
Sat Apr 1 04:59:04 GMT 2006
On 4/1/06, Francois Beausoleil <francois.beausoleil at gmail.com> wrote:
> Hi !
>
>
> You'll need to copy the helper. This should really be packaged as a
> plugin, but it's not at the moment. Anyway, copy the helper to your
> application's lib/. Then, you can use this:
>
> <%= label 'Sale Starts On', :product, :sale_starts_on %>
> <%= date_picker_field :product, :sale_starts_on %>
>
Not work. The interesting is rails does not want to render anything
below date_picker_field line. When I click Choose Date, it just go to
the current page add with # in the end. You mean product is product
table and sale_starts_on is a column of the product table with type
date, right????
More information about the Rails
mailing list