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’t think the above is really the issue in my question,
which is “why is link_to putting a box around my image_tag link?”
thanks in advance! max