Sha256: afc5cc8a8888df7147c312c40725bbef8f2f35f7755bedf3ec2041213ace6a41

Contents?: true

Size: 809 Bytes

Versions: 1

Compression:

Stored size: 809 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 %>
          <%= link_to_delete state, :no_text => true %>
        </td>
      </tr>
    <% end %>
    <% if @states.empty? %>
      <tr><td colspan="3"><%= Spree.t(:none) %></td></tr>
    <% end %>
  </tbody>
</table>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spree_backend-3.0.0.rc1 app/views/spree/admin/states/_state_list.html.erb