blob: 54966121a4c006ab19955224eb27c0a3777406ca (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
<% 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' %>
|