diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2017-12-17 11:36:55 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2017-12-17 11:38:07 +0100 |
commit | 9be44b3fa9985b8a93160434ce9f6dc922ec4387 (patch) | |
tree | cf488691c1168caf9e02be7830635da76b3bc57b /vendor/extensions/gallery_links/app/views/refinery/gallery_links/gallery_links/show.html.erb | |
parent | 302aadd8bfd4030d9b2a71d5121fd650c0918338 (diff) | |
download | hmnoweb-9be44b3fa9985b8a93160434ce9f6dc922ec4387.tar.gz hmnoweb-9be44b3fa9985b8a93160434ce9f6dc922ec4387.tar.bz2 hmnoweb-9be44b3fa9985b8a93160434ce9f6dc922ec4387.zip |
New extension GalleryLinks
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.erb | 51 |
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' %> |