Sha256: 2cf031e13e9bde78a8ebbb8415cdc3c230276e81a60bded82f8ab3e5beef0b49
Contents?: true
Size: 1.17 KB
Versions: 25
Compression:
Stored size: 1.17 KB
Contents
<% if @fixed_elements.any? %> <div id="fixed-elements"> <ul> <li> <a href="#main-content-elements"> <%= Alchemy.t(:main_content) %> </a> </li> <% @fixed_elements.each do |element| %> <li> <a href="#fixed-element-<%= element.id %>"> <%= element.display_name %> </a> </li> <% end %> </ul> <div id="main-content-elements" class="sortable-elements" data-droppable-elements="<%= @page.element_definition_names.join(' ') %>"> <%= render partial: 'alchemy/admin/elements/element', collection: @elements %> </div> <% @fixed_elements.each do |element| %> <div id="fixed-element-<%= element.id %>" class="sortable-elements" data-droppable-elements="<%= element.nestable_elements.join(' ') %>"> <%= render 'alchemy/admin/elements/element', element: element %> </div> <% end %> </div> <% else %> <div id="main-content-elements" class="sortable-elements" data-droppable-elements="<%= @page.element_definition_names.join(' ') %>"> <%= render partial: 'alchemy/admin/elements/element', collection: @elements %> </div> <% end %>
Version data entries
25 entries across 25 versions & 1 rubygems