Guest User

Untitled

a guest
Feb 21st, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. <%= 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