<%= render :partial => 'spree/admin/shared/configuration_menu' %> <% content_for :page_title do %> <%= t(:mail_methods) %> <% end %> <% content_for :page_actions do %>
  • <%= button_link_to t(:new_mail_method), new_object_url, :icon => 'icon-plus', :id => 'admin_new_mail_method_link' %>
  • <% end %> <% unless @mail_methods.any? %>
    <%= t(:no_mail_methods_defined)%>
    <% else %> <% @mail_methods.each do |method|%> <% end %>
    <%= t(:environment) %> <%= t(:active) %>
    <%= method.environment.to_s.titleize %> <%= method.active ? t(:yes) : t(:no) %> <%= link_to_edit method, :no_text => true%> <%= link_to_delete method, :no_text => true %> <%= link_to_with_icon 'icon-envelope-alt', '', testmail_admin_mail_method_path(method), :method => :post, :title => t('admin.mail_methods.send_testmail'), :class => 'send_mail button no-text' %>
    <% end%>