Misha Moroshko
Misha Moroshko

Reputation: 171321

Rails Date Picker (with jQuery)

I would like to add a simple date picker to my form.

Is there something that built-in in Rails 3 or I should look for jQuery plugins ?

Upvotes: 1

Views: 10826

Answers (5)

Sebastialonso
Sebastialonso

Reputation: 1462

I'm using this one: https://github.com/stefangabos/Zebra_Datepicker/ And it's very small, according to the README

There's also a gem for the datepicker: https://github.com/derencius/zebra-datepicker-rails and it's working in Rails 4

Upvotes: 1

albertopq
albertopq

Reputation: 201

I wrote a simple plugin to integrate Rails and jQuery Datepicker (and datetime).

https://github.com/albertopq/jquery_datepicker

Regards

Upvotes: 0

Nick Barrett
Nick Barrett

Reputation: 1051

I can recommend jQuery UI's date picker plugin

Upvotes: 1

Pan Thomakos
Pan Thomakos

Reputation: 34340

You can also check out jQueryUI that has a built-in date-picker as well as some other neat UI elements. All easily customizable with CSS as well.

Upvotes: 4

lomaxx
lomaxx

Reputation: 115763

There are a couple of datepickers available that are integrated into Rails via the "FormBuilders".

More details can be found here http://oldwiki.rubyonrails.org/rails/pages/DatePicker

Upvotes: 1

Related Questions