Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%= project.images.first ? ("<a href='#{project.images.first.file.url}' title='#{project.title}' rel='shadowbox'>" + (image_tag project.images.first.file.url(:medium), :title => 'Click to enlarge.') + "</a>") : "" %>
Add Comment
Please, Sign In to add comment