Sha256: c7ce33d541a79d07865c920eb3f2d499b9689026fd23c7796024c1160806c443

Contents?: true

Size: 1.02 KB

Versions: 6

Compression:

Stored size: 1.02 KB

Contents

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

<% content_for :page_title do %>
  <%= Spree.t(:listing_countries) %>
<% end %>

<table class="index" id='listing_countries' data-hook>
  <colgroup>
    <col style="width: 35%" />
    <col style="width: 35%" />
    <col style="width: 20%" />
    <col style="width: 10%" />
  </colgroup>
  <thead>
    <tr data-hook="tax_header">
      <th><%= Spree.t(:country_name) %></th>
      <th><%= Spree.t(:iso_name) %></th>
      <th><%= Spree.t(:states_required) %></th>
      <th class="actions"></th>
    </tr>
  </thead>
  <tbody>
    <% @countries.each do |country| %>
      <tr id="<%= spree_dom_id country %>" data-hook="country_row" class="<%= cycle('odd', 'even')%>">
        <td><%= country.name %></td>
        <td><%= country.iso_name %></td>
        <td class="align-center"><%= country.states_required.to_s.titleize %></td>
        <td class="actions">
          <%= link_to_edit country, :no_text => true %>
        </td>
      </tr>
    <% end %>
  </tbody>
</table>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
spree_backend-2.0.4 app/views/spree/admin/countries/index.html.erb
spree_backend-2.0.3 app/views/spree/admin/countries/index.html.erb
spree_backend-2.0.2 app/views/spree/admin/countries/index.html.erb
spree_backend-2.0.1 app/views/spree/admin/countries/index.html.erb
spree_backend-2.0.0 app/views/spree/admin/countries/index.html.erb
spree_backend-2.0.0.rc1 app/views/spree/admin/countries/index.html.erb