<commit_before><%= render 'spree/admin/shared/shipping_tabs' %>

<% admin_breadcrumb(Spree.t(:settings)) %>
<% admin_breadcrumb(Spree.t('admin.tab.shipping')) %>
<% admin_breadcrumb(plural_resource_name(Spree::ShippingCategory)) %>


<% content_for :page_actions do %>
  <% if can?(:create, Spree::ShippingCategory) %>
    <li>
      <%= button_link_to Spree.t(:new_shipping_category), new_object_url %>
    </li>
  <% end %>
<% end %>

<% if @shipping_categories.any? %>
<table class="index">
  <colgroup>
    <col style="width: 85%">
    <col style="width: 15%">
  </colgroup>
  <thead>
    <tr data-hook="categories_header">
      <th><%= Spree::ShippingCategory.human_attribute_name(:name) %></th>
      <th class="actions"></th>
    </tr>
  </thead>
  <tbody>
    <% @shipping_categories.each do |shipping_category|%>
    <tr id="<%= spree_dom_id shipping_category %>" data-hook="category_row" class="<%= cycle('odd', 'even')%>">
      <td class="align-center" style="width:350px;"><%= shipping_category.name %></td>
      <td class="actions">
        <% if can?(:udpate, shipping_category) %>
          <%= link_to_edit shipping_category, :no_text => true %>
        <% end %>

        <% if can?(:destroy, shipping_category) %>
          <%= link_to_delete shipping_category, :no_text => true %>
        <% end %>
      </td>
    </tr>
    <% end %>
  </tbody>
</table>
<% else %>
  <div class="alpha twelve columns no-objects-found">
    <%= render 'spree/admin/shared/no_objects_found',
                 resource: Spree::ShippingCategory,
                 new_resource_url: new_object_url %>
  </div>
<% end %>
<commit_msg>Change skeleton to bootstrap in admin shipping cat. view<commit_after><%= render 'spree/admin/shared/shipping_tabs' %>

<% admin_breadcrumb(Spree.t(:settings)) %>
<% admin_breadcrumb(Spree.t('admin.tab.shipping')) %>
<% admin_breadcrumb(plural_resource_name(Spree::ShippingCategory)) %>


<% content_for :page_actions do %>
  <% if can?(:create, Spree::ShippingCategory) %>
    <li>
      <%= button_link_to Spree.t(:new_shipping_category), new_object_url %>
    </li>
  <% end %>
<% end %>

<% if @shipping_categories.any? %>
<table class="index">
  <colgroup>
    <col style="width: 85%">
    <col style="width: 15%">
  </colgroup>
  <thead>
    <tr data-hook="categories_header">
      <th><%= Spree::ShippingCategory.human_attribute_name(:name) %></th>
      <th class="actions"></th>
    </tr>
  </thead>
  <tbody>
    <% @shipping_categories.each do |shipping_category|%>
    <tr id="<%= spree_dom_id shipping_category %>" data-hook="category_row" class="<%= cycle('odd', 'even')%>">
      <td class="align-center" style="width:350px;"><%= shipping_category.name %></td>
      <td class="actions">
        <% if can?(:udpate, shipping_category) %>
          <%= link_to_edit shipping_category, :no_text => true %>
        <% end %>

        <% if can?(:destroy, shipping_category) %>
          <%= link_to_delete shipping_category, :no_text => true %>
        <% end %>
      </td>
    </tr>
    <% end %>
  </tbody>
</table>
<% else %>
  <div class="col-xs-9 no-objects-found">
    <%= render 'spree/admin/shared/no_objects_found',
                 resource: Spree::ShippingCategory,
                 new_resource_url: new_object_url %>
  </div>
<% end %>

{'fraction_non_alphanumeric': 0.19028831562974202, 'fraction_numerical': 0.004552352048558422, 'mean_word_length': 3.5027322404371586, 'pattern_counts': {'":': 0, '<': 105, '<?xml version=': 0, '>': 109, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7391154', 'n_tokens_mistral': 1232, 'n_tokens_neox': 1117, 'n_words': 196}