aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/extensions/gallery_links/app/views/refinery/gallery_links/gallery_links/show.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/extensions/gallery_links/app/views/refinery/gallery_links/gallery_links/show.html.erb')
-rw-r--r--vendor/extensions/gallery_links/app/views/refinery/gallery_links/gallery_links/show.html.erb51
1 files changed, 51 insertions, 0 deletions
diff --git a/vendor/extensions/gallery_links/app/views/refinery/gallery_links/gallery_links/show.html.erb b/vendor/extensions/gallery_links/app/views/refinery/gallery_links/gallery_links/show.html.erb
new file mode 100644
index 0000000..5496612
--- /dev/null
+++ b/vendor/extensions/gallery_links/app/views/refinery/gallery_links/gallery_links/show.html.erb
@@ -0,0 +1,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' %>