Sha256: f4c641f0db406748e81aeb8ed720846916f7415cae779e1b3f6929eeb1067f96

Contents?: true

Size: 1.45 KB

Versions: 2

Compression:

Stored size: 1.45 KB

Contents

<%= render :partial => 'admin/shared/configuration_menu' %>

<div class="toolbar" data-hook="toolbar">
  <ul class="actions">
    <li>
      <%= button_link_to t("new_payment_method"), new_object_url, :icon => 'add',
                                                                  :id => 'admin_new_payment_methods_link'  %>
    </li>
  </ul>
  <br class='clear' />
</div>

<h1><%= t("payment_methods") %></h1>

<table class="index" id='listing_payment_methods'>
  <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"></th>
  </tr>
  <tbody>
    <% @payment_methods.each do |method|%>
      <tr id="<%= dom_id method %>" data-hook="admin_payment_methods_index_rows">
        <td width="120px"><%= method.name %></td>
        <td width="140px"><%= method.type %></td>
        <td width="100px"><%= method.environment.to_s.titleize %></td>
        <td width="60px"><%= method.display_on.blank? ? t('both') : t(method.display_on) %></td>
        <td width="60px"><%= method.active ? t(:yes) : t(:no) %></td>
        <td width="140px" data-hook="admin_payment_methods_index_row_actions">
          <%= link_to_edit method, :class => 'edit' %>
          &nbsp;
          <%= link_to_delete method %>
        </td>
      </tr>
    <% end %>
  </tbody>
</table>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_core-0.70.0.rc2 app/views/admin/payment_methods/index.html.erb
spree_core-0.70.RC1 app/views/admin/payment_methods/index.html.erb