Sha256: 2837bdd6e4fe4d3399ff89cf24314afcbc1dca912f4ba7b2293a88a5b8ea8824
Contents?: true
Size: 1.15 KB
Versions: 107
Compression:
Stored size: 1.15 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 @elements.map { |element| Alchemy::ElementEditor.new(element) } %> </div> <% @fixed_elements.each do |element| %> <div id="fixed-element-<%= element.id %>" class="sortable-elements" data-droppable-elements="<%= element.nestable_elements.join(' ') %>"> <%= render Alchemy::ElementEditor.new(element) %> </div> <% end %> </div> <% else %> <div id="main-content-elements" class="sortable-elements" data-droppable-elements="<%= @page.element_definition_names.join(' ') %>"> <%= render @elements.map { |element| Alchemy::ElementEditor.new(element) } %> </div> <% end %>
Version data entries
107 entries across 107 versions & 1 rubygems