Sha256: fe5c524b601588bf74b59fc298a67db1b2b23722b51c799e065c78b7c3f108c1

Contents?: true

Size: 1006 Bytes

Versions: 6

Compression:

Stored size: 1006 Bytes

Contents

<%= render :partial => 'admin/shared/configuration_menu' %>

<div class='toolbar'>
  <ul class='actions'>
    <li>
      <%= button_link_to t("new_zone"), new_object_url, :icon => 'add' %></p>
    </li>
  </ul>
  <br class='clear' />
</div>


<h1><%= t("zones") %></h1>
<table class="index">
  <thead>
    <tr>
      <th><%= order @search, :by => :name,        :as => t("name") %></th>
      <th><%= order @search, :by => :description, :as => t("description") %></th>
      <th></th>
    </tr>
  </thead>
  <tbody>
    <% @collection.each do |zone| %>
      <tr id="<%= dom_id zone %>">
        <td><%=zone.name %></td>
        <td><%=zone.description %></td>
        <td class="actions">
          <%=link_to_edit zone %> &nbsp; 
          <%=link_to_delete zone %>
        </td>
      </tr>
    <% end %>
    <% if @collection.empty? %>
      <tr><td colspan="2">None.</td></tr>
    <% end %>
  </tbody>
</table>

<%= will_paginate(:prev => "&#171; #{t('previous')}", :next => "#{t('next')} &#187;") %>

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
spree-enriquez-0.9.4 app/views/admin/zones/index.html.erb
spree-0.9.4 app/views/admin/zones/index.html.erb
spree-0.9.3 app/views/admin/zones/index.html.erb
spree-0.9.2 app/views/admin/zones/index.html.erb
spree-0.9.1 app/views/admin/zones/index.html.erb
spree-0.9.0 app/views/admin/zones/index.html.erb