KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I added an image inside a link_to helper: <% like = image_tag("like.png", :alt => "like", :class => "like") %> <%= link_to like, vote_up_path(@votable, :votable_type => "Post"), :remote => true, :class => "vote-up default button" %> How can I do it so that I can place some text within the link and right after the image (like the like button in YouTube)?
Tags (comma-separated)
Save Edits
Cancel