I want to evaluate an if statement to determine whether to add a class (in addition to up_vote) to this link:
<%= link_to "⇑".html_safe, video_votes_path( :video_id => video.id, :type => "up" ), :method => :post, :remote => true, :class => 'up_arrow' %>
How do I do this?
Just do it inline: