Sha256: 05e74ecbeb88dff848dbdf8f6f382f81fc14460800dcdf24e02edf9a105fea8c
Contents?: true
Size: 735 Bytes
Versions: 10
Compression:
Stored size: 735 Bytes
Contents
- cache(element) do = element_view_for(element) do |el| <%- if @element["picture_gallery"] -%> .<%= @element_name %>_images - element.contents.gallery_pictures.each do |image| .<%= @element_name %>_image{class: image.essence.css_class} = render_essence_view(image, image_size: "160x120") <%- end -%> <%- @contents.each do |content| -%> <%- if @contents.length > 1 -%> .<%= content["name"] %> = el.render :<%= content["name"] %> <%- else -%> = el.render :<%= content["name"] %> <%- end -%> <%- end -%> <%- if @element['nestable_elements'].present? -%> - element.nested_elements.available.each do |nested_element| = render_element(nested_element) <%- end -%>
Version data entries
10 entries across 10 versions & 1 rubygems