Displaying 1 result from an estimated 1 matches for "down_arrow_grey".
2007 Aug 13
1
link_to image_tag puts a box round my image
I''ve got a rather long conditional statement that either displays a
link_to(image_tag(blah)blah) or just an image_tag (i''ve edited it a bit
to show the structure):
<%= (article.score_from_user(:user_id => session[:user]) != -1)
?
(link_to image_tag("/images/down_arrow_grey.jpg", :alt => "down"),
:controller=>"article", :action => "change_score", :article_id =>
article, :user_id => session[:user], :points => -1)
:
(image_tag("/images/down_arrow_red.jpg", :alt => "down")) %>
However, i don&...