<commit_before><div ng-controller="ProductsController" ng-init="initialize()">
<p id="notice"><%= notice %></p>

<h1>Listing Products</h1>

<table>
  <thead>
    <tr>
      <th>Name</th>
      <th>Description</th>
      <th>Price</th>
      <th colspan="3"></th>
    </tr>
  </thead>

  <tbody>
    <% @products.each do |product| %>
      <tr>
        <td><%= product.name %></td>
        <td><%= product.description %></td>
        <td><%= product.price %></td>
        <td><%= link_to 'Show', product %></td>
        <td><%= link_to 'Edit', edit_product_path(product) %></td>
        <td><%= link_to 'Destroy', product, method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>



<!-- Form Dialog Box -->
<button type="button" class="btn btn-info btn-lg" data-toggle="modal" data-target="#addProduct">New Product</button>

<!-- Modal -->
<div id="addProduct" class="modal fade" role="dialog">
  <div class="modal-dialog">

    <!-- Modal content-->
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal">&times;</button>
        <h4 class="modal-title">Modal Header</h4>
      </div>
      <div class="modal-body">
        <form ng-submit="submitForm()" class="contact" name="contact">
            <label class="label" for="name">Your Name</label><br>
            <input type="text" ng-model="product.name" name="name" class="input-xlarge"><br>
            <label class="label" for="email">Your E-mail</label><br>
            <input type="email" ng-model="product.email" name="email" class="input-xlarge"><br>
            <label class="label" for="message">Enter a Message</label><br>
            <textarea name="message" ng-model="product.desc" class="input-xlarge"></textarea>
            <button type="submit">Submit</button>

        </form>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
      </div>
    </div>

  </div>
</div>

</div><commit_msg>Product - Form button styles are modified.<commit_after><div ng-controller="ProductsController" ng-init="initialize()">
<p id="notice"><%= notice %></p>

<h1>Listing Products</h1>

<table>
  <thead>
    <tr>
      <th>Name</th>
      <th>Description</th>
      <th>Price</th>
      <th colspan="3"></th>
    </tr>
  </thead>

  <tbody>
    <% @products.each do |product| %>
      <tr>
        <td><%= product.name %></td>
        <td><%= product.description %></td>
        <td><%= product.price %></td>
        <td><%= link_to 'Show', product %></td>
        <td><%= link_to 'Edit', edit_product_path(product) %></td>
        <td><%= link_to 'Destroy', product, method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>



<!-- Form Dialog Box -->
<button type="button" class="btn btn-info btn-lg" data-toggle="modal" data-target="#addProduct">New Product</button>

<!-- Modal -->
<div id="addProduct" class="modal fade" role="dialog">
  <div class="modal-dialog">

    <!-- Modal content-->
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal">&times;</button>
        <h4 class="modal-title">Modal Header</h4>
      </div>
      <form ng-submit="submitForm()" class="contact" name="contact">
        <div class="modal-body">
              <label class="label" for="name">Your Name</label><br>
              <input type="text" ng-model="product.name" name="name" class="input-xlarge"><br>
              <label class="label" for="email">Your E-mail</label><br>
              <input type="email" ng-model="product.email" name="email" class="input-xlarge"><br>
              <label class="label" for="message">Enter a Message</label><br>
              <textarea name="message" ng-model="product.desc" class="input-xlarge"></textarea>
        </div>
        <div class="modal-footer">
          <button type="submit" class="btn btn-default">Submit</button>
          <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
        </div>
      </form>
    </div>

  </div>
</div>

</div>
{'fraction_non_alphanumeric': 0.21347248576850095, 'fraction_numerical': 0.0023719165085388993, 'mean_word_length': 2.9227906976744187, 'pattern_counts': {'":': 0, '<': 179, '<?xml version=': 0, '>': 179, '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': '4419269', 'n_tokens_mistral': 1404, 'n_tokens_neox': 1350, 'n_words': 290}