How can I suppress the generation of the seconds tag when using the datetime_select helper?
I tried using the option :include_seconds => false (used in the time_select helper) but It doesn't work.
How can I suppress the generation of the seconds tag when using the datetime_select helper?
I tried using the option :include_seconds => false (used in the time_select helper) but It doesn't work.
You can override what's shown with :order, such as:
<%= f.datetime_select :fieldname, :order => [:month, :day, :year, :hour, :minutes] %>