Sha256: c3f597f2b113e3d5406bfe4129a8c8baa2adbd547288c735ce50b9c9b8758d1b
Contents?: true
Size: 1.2 KB
Versions: 12
Compression:
Stored size: 1.2 KB
Contents
<div id="element_area"> <% if @cells.any? %> <div id="cells"> <ul> <li><a href="#cell_for_other_elements"><%= t(:main_content) %></a></li> <% @elements.each do |cell, elements| %> <li> <a href="#cell_<%= cell.name %>"> <%= t(cell.name, :scope => :cell_names) %> </a> </li> <% end %> </ul> <div id="cell_for_other_elements" class="sortable_cell for_other_elements_cell"> <%= render :partial => 'alchemy/admin/elements/element', :collection => @page.elements.not_trashed.not_in_cell, :locals => {:draggable => true} %> </div> <% @elements.each do |cell, elements| -%> <div id="cell_<%= cell.name %>" class="sortable_cell <%= cell.name %>_cell" data-cell-id="<%= cell.id %>"> <%= render :partial => 'alchemy/admin/elements/element', :collection => elements, :locals => {:draggable => true} %> </div> <% end %> </div> <% else %> <div class="sortable_cell for_other_elements_cell" id="cell_for_other_elements"> <%= render :partial => 'alchemy/admin/elements/element', :collection => @elements, :locals => {:draggable => true} %> </div> <% end %> </div>
Version data entries
12 entries across 12 versions & 1 rubygems