Sha256: bb4416a174aff9b0d0c2a69610ad9e691007d927a046ffcc51a864483e40e352

Contents?: true

Size: 994 Bytes

Versions: 6

Compression:

Stored size: 994 Bytes

Contents

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

<% content_for :page_title do %>
  <%= 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><%= t(:name) %></th>
      <th><%= t(:iso_name) %></th>
      <th><%= 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 %>
      </tr>
    <% end %>
  </tbody>
</table>

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
spree_core-1.3.2 app/views/spree/admin/countries/index.html.erb
spree_core-1.3.1 app/views/spree/admin/countries/index.html.erb
spree_core-1.3.0 app/views/spree/admin/countries/index.html.erb
spree_core-1.3.0.rc2 app/views/spree/admin/countries/index.html.erb
dup_spree_core-1.3.0.rc1 app/views/spree/admin/countries/index.html.erb
spree_core-1.3.0.rc1 app/views/spree/admin/countries/index.html.erb