Created
September 6, 2013 13:33
-
-
Save maasdesigner/6463860 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% content_for :body_content_right do %> | |
<ul id='gallery'> | |
<% @page.images.each_with_index do |image, index| %> | |
<li> | |
<%= link_to image_tag(image.thumbnail("200x200#c").url, id: 'image-id') %> | |
<div class="lb-overlay" id="image-id"> | |
<%= image_tag image.thumbnail("900x600").url, id: 'image-id'%> | |
<span class='caption'><%=raw @page.caption_for_image_index(index) %></span> | |
</div> </li> | |
<% end %> | |
</ul> | |
<% end %> | |
<%= render '/refinery/content_page', :hide_sections => :body_content_title %> | |
<%= render '/refinery/photo_gallery/albums/show' %> | |
<%= render '/refinery/contacts/contacts/show' %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment