%= render 'spree/admin/shared/areas_tabs' %> <% content_for :page_title do %> <%= Spree::Zone.model_name.human(count: :other) %> <% end %> <% content_for :page_actions do %> <% if can?(:create, Spree::Zone) %>
<%= sort_link @search,:name, Spree::Zone.human_attribute_name(:name), :title => 'zones_order_by_name_title' %> | <%= sort_link @search,:description, Spree::Zone.human_attribute_name(: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) %> | <% if can?(:update, zone) %> <%= link_to_edit zone, :no_text => true %> <% end %> <% if can?(:destroy, zone) %> <%= link_to_delete zone, :no_text => true %> <% end %> |