Displaying 2 results from an estimated 2 matches for "linkcommand".
Did you mean:
link_command
2005 Jul 17
0
RE: link_to and CSS
What you want is a.linkCommand:hover, etc
-----Original Message-----
From: rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
[mailto:rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Shelby Westman
Sent: Monday, 18 July 2005 2:20 AM
To: rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gma...
2005 Jul 16
2
Applying css style to a link_to
What is the proper syntax to apply a css class to a link created using
link_to?
I''ve tried
<%= link_to("details", :class => "details", :action => "edit", :id => event)
%>
but that creates a link which looks like
/admin/events/edit/3?class=details
which is not what I''m looking for.
Kyle Heon