<input for='datetime'>
A date/time picker, using the datetime_select
helper from Rails
Attributes
- order: The order of the year, month and date menus. A comma separated string or an array. Default: “year, month, day, hour, minute”
- date-separator, discard-type, prompt and prefix are passed to the datetime_select helper as options
All the other attributes are passed to the datetime_select
helper as the html-options hash.
The menus default to the current time if the current value is nil.
Related Tags
Edit this page