Sha256: d841ecc2adcf076f34e8b3ba569012987e74db310a1eaec9cbe0676c15f54581
Contents?: true
Size: 544 Bytes
Versions: 8
Compression:
Stored size: 544 Bytes
Contents
<div class="image_mosaic" id="<%= element_dom_id(element) %>" <%= element_preview_code(element) -%>> <div class="image_mosaic_images"> <%- element.contents.find_all_by_essence_type("Alchemy::EssencePicture").each do |essence| -%> <div class="image_mosaic_image"> <%= render_essence_view(essence, :image_size => '300x200', :crop => true) %> </div> <%- end -%> </div> <% if element.ingredient(:show_caption) %> <div class="caption"> <%= render_essence_view_by_name(element, 'caption') %> </div> <% end %> </div>
Version data entries
8 entries across 8 versions & 1 rubygems