Sha256: a18d79cb463106ab431a1e97331455313a8cad3efa60d6c7a8d152fdb14caa72
Contents?: true
Size: 1.67 KB
Versions: 1
Compression:
Stored size: 1.67 KB
Contents
<%= render :partial => 'spree/admin/shared/configuration_menu' %> <% content_for :page_title do %> <%= t(:payment_methods) %> <% end %> <% content_for :page_actions do %> <li> <%= button_link_to t(:new_payment_method), new_object_url, :icon => 'icon-plus', :id => 'admin_new_payment_methods_link' %> </li> <% end %> <table class="index" id='listing_payment_methods'> <colgroup> <col style="width: 15%"> <col style="width: 35%"> <col style="width: 15%"> <col style="width: 10%"> <col style="width: 10%"> <col style="width: 15%"> </colgroup> <thead> <tr data-hook="admin_payment_methods_index_headers"> <th><%= t(:name) %></th> <th><%= t(:provider) %></th> <th><%= t(:environment) %></th> <th><%= t(:display) %></th> <th><%= t(:active) %></th> <th data-hook="admin_payment_methods_index_header_actions" class="actions"></th> </tr> </thead> <tbody> <% @payment_methods.each do |method|%> <tr id="<%= spree_dom_id method %>" data-hook="admin_payment_methods_index_rows" class="<%= cycle('odd', 'even')%>"> <td class="align-center"><%= method.name %></td> <td><%= method.type %></td> <td class="align-center"><%= method.environment.to_s.titleize %></td> <td class="align-center"><%= method.display_on.blank? ? t(:both) : t(method.display_on) %></td> <td class="align-center"><%= method.active ? t(:yes) : t(:no) %></td> <td data-hook="admin_payment_methods_index_row_actions" class="actions"> <%= link_to_edit method, :no_text => true %> <%= link_to_delete method, :no_text => true %> </td> </tr> <% end %> </tbody> </table>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spree_core-1.3.2 | app/views/spree/admin/payment_methods/index.html.erb |