<commit_before><div class="container">
  <% if !flash[:notice].blank? %>
    <div class = "alert alert-info">
      <%= flash[:notice] %>
    </div>
  <% end %>

  <br />

  <%= link_to "New Input File", new_inputfile_path, class: "btn btn-primary" %>
  <br />
  <br />

  <table class = "table table-bordered table-striped">
    <thead>
      <tr>
        <th>Name</th>
        <th>Download link</th>
        <th> </th>
        <th> </th>
      </tr>
    </thead>

    <tbody>
      <% @inputfiles.each do |inputfile| %>
        <tr>
          <td><%= inputfile.name %></td>
          <td><%= link_to "Download Input File", inputfile.attachment_url %></td>
          <td><%= link_to "Calculate Order", inputfile_orders_path(inputfile) %></td>
          <td><%= button_to "Delete", inputfile, method: :delete, class: "btn btn-danger", confirm: "Are you sure that you wish to delete #{inputfile.name}?" %></td>
        </tr>
      <% end %>
    </tbody>
  </table>
</div><commit_msg>Improve button visual<commit_after><div class="container">
  <% if !flash[:notice].blank? %>
    <div class = "alert alert-info">
      <%= flash[:notice] %>
    </div>
  <% end %>

  <br />

  <%= link_to "New Input File", new_inputfile_path, class: "btn btn-primary" %>
  <br />
  <br />

  <table class = "table table-bordered table-striped">
    <thead>
      <tr>
        <th>Name</th>
        <th>View File</th>
        <th>Calculate Order</th>
        <th>Delete File</th>
      </tr>
    </thead>

    <tbody>
      <% @inputfiles.each do |inputfile| %>
        <tr>
          <td><%= inputfile.name %></td>
          <td><%= button_to "View", inputfile.attachment_url, method: :get, class: "btn btn-primary" %></td>
          <td><%= button_to "Calculate", inputfile_orders_path(inputfile), method: :get, class: "btn btn-primary" %></td>
          <td><%= button_to "Delete", inputfile, method: :delete, class: "btn btn-danger", confirm: "Are you sure that you wish to delete #{inputfile.name}?" %></td>
        </tr>
      <% end %>
    </tbody>
  </table>
</div>
{'fraction_non_alphanumeric': 0.19854014598540146, 'fraction_numerical': 0.0, 'mean_word_length': 2.472972972972973, 'pattern_counts': {'":': 0, '<': 89, '<?xml version=': 0, '>': 89, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '651713', 'n_tokens_mistral': 749, 'n_tokens_neox': 698, 'n_words': 176}