Sha256: 53c9054c98e85d303b3d529bdcc03ee1316517c7eee66d5e1d3ff8f8ef1bc111
Contents?: true
Size: 919 Bytes
Versions: 20
Compression:
Stored size: 919 Bytes
Contents
<%- max_image_count = options[:maximum_amount_of_images] || options[:max_images] -%> <div class="picture_gallery_images" id="element_<%= element.id %>_contents"> <%- for picture_content in picture_contents do -%> <%= render_essence_editor(picture_content, { :dragable => (picture_contents.size > 1) }.merge(options)) %> <%- end -%> <%- if max_image_count.blank? || picture_contents.length < max_image_count.to_i -%> <%= render( :partial => 'admin/elements/add_content', :locals => { :element => element, :essence_type => "EssencePicture", :link_text => _("add_image_to_element"), :options => options, :dragable => (picture_contents.size > 1) } ) %> <%- end -%> </div> <%- if picture_contents.size > 1 -%> <script type="text/javascript" charset="utf-8"> Alchemy.SortableContents('#element_<%= element.id %>_contents', '<%= form_authenticity_token %>'); </script> <%- end -%>
Version data entries
20 entries across 20 versions & 1 rubygems