%= render 'spree/admin/shared/configuration_menu' %> <% content_for :page_title do %> <%= Spree.t(:payment_methods) %> <% end %> <% content_for :page_actions do %> <% if can?(:create, Spree::PaymentMethod) %>
<%= Spree.t(:name) %> | <%= Spree.t(:provider) %> | <%= Spree.t(:display) %> | <%= Spree.t(:active) %> | |
---|---|---|---|---|
<%= method.name %> | <%= method.type %> | <%= method.display_on.blank? ? Spree.t(:both) : Spree.t(method.display_on) %> | <%= method.active ? Spree.t(:say_yes) : Spree.t(:say_no) %> | <% if can?(:update, method.becomes(Spree::PaymentMethod)) %> <%= link_to_edit method.becomes(Spree::PaymentMethod), :no_text => true %> <% end %> <% if can?(:destroy, method.becomes(Spree::PaymentMethod)) %> <%= link_to_delete method.becomes(Spree::PaymentMethod), :no_text => true %> <% end %> |