Sha256: d1951dfe4feb27124d8550a0ed5c6be05c896cb16cd4144cd6894eb8cf192c2c

Contents?: true

Size: 986 Bytes

Versions: 7

Compression:

Stored size: 986 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_by_link :name, :text => t("name") %></th>
      <th><%= order_by_link :description, :text => t("description") %></th>
      <th></th>
    </tr>
  </thead>
  <tbody>
    <% @collection.each do |zone| %>
      <tr>
        <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>

<%= page_links(:prev => "&#171; #{t('previous')}", :next => "#{t('next')} &#187;") if @search.page_count > 1 %>

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
kdmny-spree-0.0.1 app/views/admin/zones/index.html.erb
spree-0.8.4 app/views/admin/zones/index.html.erb
spree-0.8.5 app/views/admin/zones/index.html.erb
spree-0.8.0 app/views/admin/zones/index.html.erb
spree-0.8.1 app/views/admin/zones/index.html.erb
spree-0.8.2 app/views/admin/zones/index.html.erb
spree-0.8.3 app/views/admin/zones/index.html.erb