I am using time_select开发者_StackOverflow中文版 helper on a site that has Right-To-Left Text ().
Therefore the time_select turns over in the html output (The hour select is before the minute select).
How can I make the minute select be before the hour select?
Thanks,
Oded
unlike the date_select, time_select doesn't have an order option unfortunately.
What you could do:
- use select_hour and select_minute to customize it
- use
time_select
and do a CSS trick and applyfloat: left;
(or maybefloat: right;
) to the minute select field, you can identify the minute select by the id which looks likeobjectname_fieldname_5i
so if you calltime_select('myobject', 'myfield')
the id ismyobject_myfield_5i
精彩评论