<commit_before><h1>Warehouses</h1>
<table id="warehouses" class="index">
  <tr>
    <th>Name</th>
    <th>Code</th>
    <th>Location</th>
    <th>Details</th>
  </tr>

<div class="toolbar" data-hook="toolbar">
  <ul class="actions">
    <li id="new_warehouse_link">
      <%= button_link_to t("new_warehouse"), new_admin_warehouse_path, {:remote => true, :icon => 'add', :id => 'admin_new_warehouse'} %>
    </li>
  </ul>
  <br class="clear" />
</div>


<% @warehouses.each do |wh| %>
  <tr>
    <td><%= wh.name %></td>
    <td><%= wh.code %></td>
    <td><%= wh.location %></td>
    <td><%= wh.details %></td>
    <td class="actions">
      <%= link_to_with_icon 'edit',"Edit", edit_admin_warehouse_path(wh) %>
      <%= link_to_with_icon 'delete' ,"Delete", admin_warehouse_path(wh), :method => :delete, :confirm => "Are you sure ?" %>
    </td>
  </tr>
<% end %>
</table>

<br />
<%= button_link_to t(:new_warehouse), new_admin_warehouse_path, :icon => 'add', :id => 'new_warehouse' %><commit_msg>removed ajax hook new warehouse button and replaced with non ajax working button - top right<commit_after>
<h1>Warehouses</h1>

<br />
<table id="warehouses" class="index">
  <tr>
    <th>Name</th>
    <th>Code</th>
    <th>Location</th>
    <th>Details</th>
  </tr>

<div class="toolbar" data-hook="toolbar">
  <ul class="actions">
    <li id="new_warehouse_link">
      <%= button_link_to t(:new_warehouse), new_admin_warehouse_path, :icon => 'add', :id => 'admin_new_warehouse' %>
    </li>
  </ul>
  <br class="clear" />
</div>


<% @warehouses.each do |wh| %>
  <tr>
    <td><%= wh.name %></td>
    <td><%= wh.code %></td>
    <td><%= wh.location %></td>
    <td><%= wh.details %></td>
    <td class="actions">
      <%= link_to_with_icon 'edit',"Edit", edit_admin_warehouse_path(wh) %>
      <%= link_to_with_icon 'delete' ,"Delete", admin_warehouse_path(wh), :method => :delete, :confirm => "Are you sure ?" %>
    </td>
  </tr>
<% end %>
</table>


{'fraction_non_alphanumeric': 0.2285276073619632, 'fraction_numerical': 0.002044989775051125, 'mean_word_length': 3.75, 'pattern_counts': {'":': 0, '<': 90, '<?xml version=': 0, '>': 101, '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': '1452528', 'n_tokens_mistral': 805, 'n_tokens_neox': 760, 'n_words': 154}