blob: 54966121a4c006ab19955224eb27c0a3777406ca (
plain) (
tree)
|
|
<% content_for :body_content_title do %>
<%= @gallery_link.title %>
<% end %>
<% content_for :body do %>
<section>
<h1>Title</h1>
<p>
<%=raw @gallery_link.title %>
</p>
</section>
<section>
<h1>Url</h1>
<p>
<%=raw @gallery_link.url %>
</p>
</section>
<section>
<h1>Photographer</h1>
<p>
<%=raw @gallery_link.photographer %>
</p>
</section>
<section>
<h1>Description</h1>
<p>
<%=raw @gallery_link.description %>
</p>
</section>
<section>
<h1>Image</h1>
<p>
<%=raw @gallery_link.image_id %>
</p>
</section>
<% end %>
<% content_for :side_body do %>
<aside>
<h2><%= t('.other') %></h2>
<ul id="gallery_links">
<% @gallery_links.each do |gallery_link| %>
<li>
<%= link_to gallery_link.title, refinery.gallery_links_gallery_link_path(gallery_link) %>
</li>
<% end %>
</ul>
</aside>
<% end %>
<%= render '/refinery/content_page' %>
|