Reputation: 171321
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
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
Reputation: 201
I wrote a simple plugin to integrate Rails and jQuery Datepicker (and datetime).
https://github.com/albertopq/jquery_datepicker
Regards
Upvotes: 0
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
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