Sha256: d46ee0ccc1b945d553dec958cba53b4f10fac706a106144d4d733a7ef7c77690

Contents?: true

Size: 1.04 KB

Versions: 2

Compression:

Stored size: 1.04 KB

Contents

<h1>Listing Zone Currencies</h1>

<table class="index" id="listing_orders" data-hook>
  <thead>
    <tr data-hook="admin_orders_index_headers">
      <th><%= t(:zones) %></th>
      <th><%= t(:currency) %></th>
      <th data-hook="admin_zone_currencies_index_header_actions"></th>
    </tr>
  </thead>
  <tbody>
  <% @zone_currencies.each do |zone_currency| %>
    <tr data-hook="admin_zone_currencies_index_rows">
      <%
      zone = Zone.find(zone_currency.zone_id)
      %>
      <td><%= link_to zone.name, edit_admin_zone_currency_path(zone_currency) %></td>
      <td><%= zone_currency.order_id %></td>
      <td class='actions' data-hook="admin_zone_currencies_index_row_actions">
        <%= link_to_edit_url edit_admin_zone_currency_path(zone_currency), :title => "admin_edit_#{dom_id(zone_currency)}" %>
      </td>
    </tr>
  <% end %>
  </tbody>
</table>

<%= paginate @zone_currencies %>

<% content_for :sidebar do %>
  <%= render :partial => 'spree/admin/shared/sidebar_zone_currencies', :locals => { :selected => "zone_currencies" } %>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_zone_pricing-0.1.57 app/views/spree/admin/zone_currencies/index.html.erb
spree_zone_pricing-0.1.56 app/views/spree/admin/zone_currencies/index.html.erb