Sha256: 1829697d534933c6c38e62329ab521704014992d5e6c01c0ca7b0f56b87c49b7
Contents?: true
Size: 473 Bytes
Versions: 27
Compression:
Stored size: 473 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 p = render_new_content_link(element) <% end -%>
Version data entries
27 entries across 27 versions & 2 rubygems