john wrote:
> I have this helper and would like to add a html class to each of the
> select box''s it generates, however I have been unable to find a
way?
>
> <%= f.date_select ''date_of_birth'', :order =>
[:day,:month,:year],
> :start_year => 1940, :end_year => Time.now.year, :include_blank =>
true
> %>
>
> Any suggestions?
One technique I remember reading about here was to surround
the selectors with a div having the appropriate class, and use
CSS selector ".<class> select" to set the styles.
--
We develop, watch us RoR, in numbers too big to ignore.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---