Sha256: cf298d86b440847c597e3cbd8f822dd4e4c7972adb2f8452f51c6bec5c012c7d
Contents?: true
Size: 569 Bytes
Versions: 9
Compression:
Stored size: 569 Bytes
Contents
<%- if @element['contents'].present? || @element['available_contents'].present? -%> = 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 %p = render_new_content_link(element) <% end -%> <% end -%>
Version data entries
9 entries across 9 versions & 1 rubygems