This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
barleysodas/app/views/galleries/_image.rhtml

6 lines
330 B
Plaintext

<br />
<% version ||= :screen -%>
<div class="people_image" id="image_<%= image.id -%>">
<%= link_to_unless_current(image_tag(image.filename_for_version(version), :alt => image.original), gallery_url(image)) %>
<p class="author">Uploaded by <%= link_to(image.people.title, galleries_url(:id => image.people_id)) -%></p>
</div>