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

Version Path
alchemy_cms-2.9.1 app/views/alchemy/admin/elements/index.html.erb
alchemy_cms-2.9.0 app/views/alchemy/admin/elements/index.html.erb
alchemy_cms-2.8.3 app/views/alchemy/admin/elements/index.html.erb
alchemy_cms-2.7.5 app/views/alchemy/admin/elements/index.html.erb
alchemy_cms-2.6.3 app/views/alchemy/admin/elements/index.html.erb
alchemy_cms-2.7.4 app/views/alchemy/admin/elements/index.html.erb
alchemy_cms-2.8.2 app/views/alchemy/admin/elements/index.html.erb
alchemy_cms-2.8.1 app/views/alchemy/admin/elements/index.html.erb
alchemy_cms-2.7.3 app/views/alchemy/admin/elements/index.html.erb
alchemy_cms-2.7.2 app/views/alchemy/admin/elements/index.html.erb
alchemy_cms-2.7.1 app/views/alchemy/admin/elements/index.html.erb
alchemy_cms-2.7.0 app/views/alchemy/admin/elements/index.html.erb
alchemy_cms-2.6.2.1 app/views/alchemy/admin/elements/index.html.erb
alchemy_cms-2.6.2 app/views/alchemy/admin/elements/index.html.erb
alchemy_cms-2.6.1 app/views/alchemy/admin/elements/index.html.erb
alchemy_cms-2.6.0 app/views/alchemy/admin/elements/index.html.erb
alchemy_cms-2.6.0.rc5 app/views/alchemy/admin/elements/index.html.erb
alchemy_cms-2.5.3.1 app/views/alchemy/admin/elements/index.html.erb
alchemy_cms-2.5.3 app/views/alchemy/admin/elements/index.html.erb
alchemy_cms-2.5.2.2 app/views/alchemy/admin/elements/index.html.erb