Sha256: a64713fb31832ef7bb938414970eee77cea1c1f01d060f038c036f8776918efa
Contents?: true
Size: 1.2 KB
Versions: 26
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
26 entries across 26 versions & 1 rubygems