Return to Snippet

Revision: 7883
at August 19, 2008 07:33 by tonic


Updated Code
<%= link_to 'example', {:action => "index", :id => @item}, :class => "myclass" %>

Revision: 7882
at August 19, 2008 07:33 by tonic


Initial Code
<%= link_to 'example', {:action => "index", :id => @item}, :class =>
"myclass" %>

Initial URL
http://lists.rubyonrails.org/pipermail/rails/2006-April/031420.html

Initial Description

                                

Initial Title
Using a CSS class statement in a link_to tag

Initial Tags
css, class, link, rails

Initial Language
Rails