Sha256: 5a49017ec70763cb40b5a1cbfdeebb5ab8c210eb89aa8c6718a17eb37003f5d8

Contents?: true

Size: 855 Bytes

Versions: 33

Compression:

Stored size: 855 Bytes

Contents

<div id="new_state" data-hook></div>

<table class="table" id='listing_states' data-hook>
  <thead>
    <tr data-hook="states_header">
      <th><%= Spree.t(:name) %></th>
      <th class="text-center"><%= Spree.t(:abbreviation) %></th>
      <th class="actions"></th>
    </tr>
  </thead>
  <tbody>
    <% @states.each do |state| %>
      <tr id="<%= spree_dom_id state %>" data-hook="states_row">
        <td><%= state.name %></td>
        <td class="text-center"><%= state.abbr %></td>
        <td class="actions actions-2 text-right">
          <%= link_to_edit(state, :no_text => true) if can? :edit, state %>
          <%= link_to_delete(state, :no_text => true) if can? :delete, state %>
        </td>
      </tr>
    <% end %>
    <% if @states.empty? %>
      <tr><td colspan="3"><%= Spree.t(:none) %></td></tr>
    <% end %>
  </tbody>
</table>

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
spree_backend-3.1.14 app/views/spree/admin/states/_state_list.html.erb
spree_backend-3.1.13 app/views/spree/admin/states/_state_list.html.erb
spree_backend-3.1.12 app/views/spree/admin/states/_state_list.html.erb
spree_backend-3.1.11 app/views/spree/admin/states/_state_list.html.erb
spree_backend-3.1.10 app/views/spree/admin/states/_state_list.html.erb
spree_backend-3.1.9 app/views/spree/admin/states/_state_list.html.erb
spree_backend-3.1.8 app/views/spree/admin/states/_state_list.html.erb
spree_backend-3.1.7 app/views/spree/admin/states/_state_list.html.erb
spree_backend-3.1.6 app/views/spree/admin/states/_state_list.html.erb
spree_backend-3.1.5 app/views/spree/admin/states/_state_list.html.erb
spree_backend-3.1.4 app/views/spree/admin/states/_state_list.html.erb
spree_backend-3.1.3 app/views/spree/admin/states/_state_list.html.erb
spree_backend-3.1.2 app/views/spree/admin/states/_state_list.html.erb
spree_backend-3.0.10 app/views/spree/admin/states/_state_list.html.erb
spree_backend-3.1.1 app/views/spree/admin/states/_state_list.html.erb
spree_backend-3.1.0 app/views/spree/admin/states/_state_list.html.erb
spree_backend-3.1.0.rc4 app/views/spree/admin/states/_state_list.html.erb
spree_backend-3.0.9 app/views/spree/admin/states/_state_list.html.erb
spree_backend-3.1.0.rc3 app/views/spree/admin/states/_state_list.html.erb
spree_backend-3.1.0.rc2 app/views/spree/admin/states/_state_list.html.erb