<%= render 'spree/admin/shared/configuration_menu' %> <% content_for :page_title do %> <%= Spree.t(:zones) %> <% end %> <% content_for :page_actions do %>
  • <%= button_link_to Spree.t(:new_zone), new_object_url, :icon => 'plus', :id => 'admin_new_zone_link' %>
  • <% end %> <%= paginate @zones %> <% if @zones.any? %> <% @zones.each do |zone| %> <% end %>
    <%= sort_link @search,:name, Spree.t(:name), :title => 'zones_order_by_name_title' %> <%= sort_link @search,:description, Spree.t(:description), {}, {:title => 'zones_order_by_description_title'} %> <%= Spree.t(:default_tax) %>
    <%= zone.name %> <%= zone.description %> <%= zone.default_tax? ? Spree.t(:say_yes) : Spree.t(:say_no) %> <%=link_to_edit zone, :no_text => true %> <%=link_to_delete zone, :no_text => true %>
    <% else %>
    <%= Spree.t(:no_resource_found, resource: I18n.t(:other, scope: 'activerecord.models.spree/zone')) %>, <%= link_to Spree.t(:add_one), spree.new_admin_zone_path %>!
    <% end %> <%= paginate @zones %>