Sha256: f800fa8583815666c520f337c46f765b25b5f9c421c758f717c432b765dc1540
Contents?: true
Size: 991 Bytes
Versions: 11
Compression:
Stored size: 991 Bytes
Contents
<div id="new_state" data-hook></div> <div class="table-responsive"> <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"> <span class="d-flex justify-content-end"> <%= link_to_edit(state, no_text: true) if can? :edit, state %> <%= link_to_delete(state, no_text: true) if can? :delete, state %> </span> </td> </tr> <% end %> <% if @states.empty? %> <tr><td colspan="3"><%= Spree.t(:none) %></td></tr> <% end %> </tbody> </table> </div>
Version data entries
11 entries across 11 versions & 1 rubygems