blob: baad049dfd858d57df08a89d959538baf802773e (
plain) (
tree)
|
|
<% content_for :body do %>
<section id="gallery_links">
<% @gallery_links.each do |g| %>
<article class="gallery_link" id="gallery_link_<%= g.id %>">
<header>
<div class="gallery_link_meta">
<time datetime="<%= g.date.xmlschema %>">
<%= l(g.date) %>
</time>
</div>
<h1>
<%= link_to g.bands, g.url %>
</h1>
<div class="gallery_link_meta">
<%= g.venue %>
</div>
</header>
<section class="gallery_link_preview">
<%= link_to image_tag(g.image.thumbnail(:medium).url), g.url %>
</section>
<section class="gallery_link_description">
<%=raw g.description %>
</section>
<section class="gallery_link_meta">
<div>
<span class="gallery_link_label">
<%= t('.photographer') %>:
</span>
<span class="gallery_link_photographer">
<%= g.photographer %>
</span>
</div>
<div>
<span class="gallery_link_label">
<%= t('.created') %>:
</span>
<time datetime="<%= g.created_at %>">
<%= l(g.created_at) %>
</time>
</div>
</section>
</article>
<% end %>
</section>
<% end %>
<%= render '/refinery/content_page' %>
|