Sha256: c482e8bf11d017ccd1e718098b6975cd3bc697ac033f392be30515262acf6cc8

Contents?: true

Size: 876 Bytes

Versions: 12

Compression:

Stored size: 876 Bytes

Contents

<div id="element_area">
  <%- if !@cells.blank? -%>
  <div id="cells">
    <ul>
      <%- @elements.each do |cell, elements| -%>
      <li>
        <a href="#cell_<%= cell.name -%>">
          <%= cell.name == 'for_other_elements' ? t('other Elements') : t("alchemy.cell_names.#{cell.name}", :default => cell.name.camelcase) -%>
        </a>
      </li>
      <%- end -%>
    </ul>
    <%- @elements.each do |cell, elements| -%>
    <div id="cell_<%= cell.name %>" class="sortable_cell <%= cell.name %>_cell" data-cell-id="<%= cell.id %>">
    	<%= render :partial => '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 => @elements, :locals => {:draggable => true} %>
  </div>
  <%- end -%>
</div>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
alchemy_cms-2.1.4 app/views/alchemy/admin/elements/index.html.erb
alchemy_cms-2.1.3 app/views/alchemy/admin/elements/index.html.erb
alchemy_cms-2.1.2 app/views/alchemy/admin/elements/index.html.erb
alchemy_cms-2.1.1 app/views/alchemy/admin/elements/index.html.erb
alchemy_cms-2.1 app/views/alchemy/admin/elements/index.html.erb
alchemy_cms-2.1.rc6 app/views/alchemy/admin/elements/index.html.erb
alchemy_cms-2.1.rc5 app/views/alchemy/admin/elements/index.html.erb
alchemy_cms-2.1.rc4 app/views/alchemy/admin/elements/index.html.erb
alchemy_cms-2.1.rc3 app/views/alchemy/admin/elements/index.html.erb
alchemy_cms-2.1.rc2 app/views/alchemy/admin/elements/index.html.erb
alchemy_cms-2.1.beta6 app/views/alchemy/admin/elements/index.html.erb
alchemy_cms-2.1.beta5 app/views/alchemy/admin/elements/index.html.erb