Sha256: b8193dd370d33c90b0321fe58a307bbda830730dbd2171b72f6ba58c0f6b783d
Contents?: true
Size: 545 Bytes
Versions: 52
Compression:
Stored size: 545 Bytes
Contents
<%%- cache(<%= @element_name %>) do -%> <%%= element_view_for(<%= @element_name %>) do |el| -%> <%- @ingredients.each do |ingredient| -%> <%- if @ingredients.length > 1 -%> <div class="<%= 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 -%> <%%- end -%> <%%- end -%>
Version data entries
52 entries across 52 versions & 1 rubygems