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

Version Path
alchemy_cms-3.2.1 lib/rails/generators/alchemy/elements/templates/editor.html.slim
alchemy_cms-3.1.3 lib/rails/generators/alchemy/elements/templates/editor.html.slim
lc_alchemy_cms-3.2.1 lib/rails/generators/alchemy/elements/templates/editor.html.slim
lc_alchemy_cms-3.2.0 lib/rails/generators/alchemy/elements/templates/editor.html.slim
alchemy_cms-3.2.0 lib/rails/generators/alchemy/elements/templates/editor.html.slim
alchemy_cms-3.2.0.rc1 lib/rails/generators/alchemy/elements/templates/editor.html.slim
alchemy_cms-3.2.0.beta lib/rails/generators/alchemy/elements/templates/editor.html.slim
alchemy_cms-3.1.1 lib/rails/generators/alchemy/elements/templates/editor.html.slim
alchemy_cms-3.0.4 lib/rails/generators/alchemy/elements/templates/editor.html.slim
alchemy_cms-3.1.0 lib/rails/generators/alchemy/elements/templates/editor.html.slim
alchemy_cms-3.1.0.rc3 lib/rails/generators/alchemy/elements/templates/editor.html.slim
alchemy_cms-3.1.0.rc2 lib/rails/generators/alchemy/elements/templates/editor.html.slim
alchemy_cms-3.1.0.rc1 lib/rails/generators/alchemy/elements/templates/editor.html.slim
alchemy_cms-3.1.0.beta6 lib/rails/generators/alchemy/elements/templates/editor.html.slim
alchemy_cms-3.1.0.beta5 lib/rails/generators/alchemy/elements/templates/editor.html.slim
alchemy_cms-3.1.0.beta4 lib/rails/generators/alchemy/elements/templates/editor.html.slim
alchemy_cms-3.0.3 lib/rails/generators/alchemy/elements/templates/editor.html.slim
alchemy_cms-3.1.0.beta3 lib/rails/generators/alchemy/elements/templates/editor.html.slim
alchemy_cms-3.1.0.beta2 lib/rails/generators/alchemy/elements/templates/editor.html.slim
alchemy_cms-3.1.0.beta1 lib/rails/generators/alchemy/elements/templates/editor.html.slim