Reputation: 12179
I use the following code:
= f.datetime_field :start_time
But my field looks like a commond text field, without date and time pickers. How can I fix it? My layout uses HTML5 for Doctype. Thanks in advance.
Upvotes: 0
Views: 51
Reputation: 20834
<input type="datetime">
is only supported in opera and partly -webkit browsers - MDN and caniuse.
Use some datepicker plugin, like JQuery UI datepicker.
Upvotes: 1