Sha256: 1cba8a31cbc66a5f6f89babb1ae98e8a887cf88ba310b5a148575ac342874da9
Contents?: true
Size: 475 Bytes
Versions: 104
Compression:
Stored size: 475 Bytes
Contents
- cache(<%= @element_name -%>) do = element_view_for(<%= @element_name -%>) do |el| <%- @ingredients.each do |ingredient| -%> <%- if @ingredients.length > 1 -%> .<%= ingredient["role"] %> = el.render(:<%= ingredient["role"] %>) </div> <%- else -%> = el.render(:<%= ingredient["role"] %>) <%- end -%> <%- end -%> <%- if @element['nestable_elements'].present? -%> = render <%= @element_name -%>.nested_elements.published <%- end -%>
Version data entries
104 entries across 52 versions & 1 rubygems