Did u try stylesheet_link_tag("mystyle") and put mystyle.css inside
public/stylesheets ?
On Jun 23, 11:10 am, Newb Newb <[email protected]>
wrote:
> Hi...
> i used paulca-phone_codes plugin for country code.and it works.
> <%= f.select :country_code, PhoneCode.options_for_select(:prefix)%>
> what i want to know is how to apply css class for this.when i tried like
> below it doesnot work
> <%= f.select :country_code, PhoneCode.options_for_select(:prefix),
> {:class => "mystyle" }%>
>
> Any helps
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---