Sha256: 1e3d41b3b157be6f4a49b5950c8190a9e85c9819ab079e804d450b7ce4544647
Contents?: true
Size: 478 Bytes
Versions: 27
Compression:
Stored size: 478 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