Sha256: bb12861ecdbb4c572e01270a69dab555cf1b50eea1301434d32443f8f5bf5df6
Contents?: true
Size: 550 Bytes
Versions: 3
Compression:
Stored size: 550 Bytes
Contents
<%%= element_editor_for(element) do |el| -%> <%- if @element['picture_gallery'] -%> <%%= render_picture_gallery_editor(element, :max_images => nil, :crop => true) %> <%- end -%> <% @contents.each do |content| -%> <%%= el.edit :<%= content["name"] %> %> <% end -%> <%- if @element['available_contents'] -%> <%% element.contents.where(:name => ['<%= @available_contents_names.join("', '") %>']).each do |content| %> <%%= render_essence_editor content %> <%% end %> <p><%%= render_new_content_link(element) %></p> <%- end -%> <%%- end -%>
Version data entries
3 entries across 3 versions & 1 rubygems