Posted By

tonic on 08/19/08


Tagged

css class link rails linkto


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

webstic


Using a CSS class statement in a link_to tag


 / Published in: Rails
 

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

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

Report this snippet  

You need to login to post a comment.