Forum: Ruby on Rails datetime_select & styles

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
*binarystar* (Guest)
on 2006-03-02 01:43

apologies if this has a trivial solution but after rumaging around
google for a while I haven't found one. I am trying to set the style of
the datetime_select compound widget but it appears to ignore all my
efforts ... the API specifies

datetime_select(object, method, options = {})

so you would expect

<%= datetime_select 'log', 'available_start_on',
:class=>"some_css_class" %>

to work? Or am I missing something?

thanks in advance

*binarystar* :)
This topic is locked and can not be replied to.