<commit_before><div class="container-fluid">
  <div class="row">
    <div class="span6 form-search">
    <h1>Product List</h1>
	  <div class="row offset1">
	      Search: <input ng-model="query" class="search-query">
      </div>
	  <div class="row offset1">
	      filter by category:
	      <select ng-model="category.name">
	      	<option value="">-All-</option>
	        <option value="Food">Food</option>
	        <option value="Gadgets">Gadgets</option>
	      </select>
	  </div>
	  <div class="row offset1">
	      Sort by:
	      <select ng-model="orderProp">
	        <option value="name">Alphabetical</option>
	        <option value="category.name">Category</option>
	      </select>
	   </div>
    </div>
    <div class="span3">
    	<a href="#/products/new" class="btn btn-primary">New Product</a>
    </div>
  </div>

      
<table class="table table-striped">
<thead>
  <tr>
    <th>Product Name</th>
    <th>Category</th>
    <th>Add to cart</th>
<tbody>
  <tr ng-repeat="product in products | filter:query | filter:category.name | orderBy:orderProp"">
  	<td> 
  		<dt><a href="#/product/{{product.id}}">{{product.name}}</a> </dt>
  		<dd>{{product.description}}</dd>	
  	</td>
  	<td>{{product.category.name}}</td>
  	<td><button class="btn btn-primary" ng-click="addProduct(product.id)"><i class="icon-plus-sign"></i> Add</button></td>
  </tr>
</tbody>    
</table>      

</div>

<commit_msg>Put new product button on a form-actions div<commit_after><div class="container-fluid">
  <div class="row">
    <div class=" form-search">
    <h1>Product List</h1>
	  <div class="row offset1">
	      Search: <input ng-model="query" class="search-query">
      </div>
	  <div class="row offset1">
	      filter by category:
	      <select ng-model="category.name">
	      	<option value="">-All-</option>
	        <option value="Food">Food</option>
	        <option value="Gadgets">Gadgets</option>
	      </select>
	  </div>
	  <div class="row offset1">
	      Sort by:
	      <select ng-model="orderProp">
	        <option value="name">Alphabetical</option>
	        <option value="category.name">Category</option>
	      </select>
	   </div>
	 </div>
  </div>
<div class="form-actions">
    	<a href="#/products/new" class="btn btn-primary pull-right">New Product</a>
</div>      
<table class="table table-striped">
<thead>
  <tr>
    <th>Product Name</th>
    <th>Category</th>
    <th>Add to cart</th>
<tbody>
  <tr ng-repeat="product in products | filter:query | filter:category.name | orderBy:orderProp"">
  	<td> 
  		<dt><a href="#/product/{{product.id}}">{{product.name}}</a> </dt>
  		<dd>{{product.description}}</dd>	
  	</td>
  	<td>{{product.category.name}}</td>
  	<td><button class="btn btn-primary" ng-click="addProduct(product.id)"><i class="icon-plus-sign"></i> Add</button></td>
  </tr>
</tbody>    
</table>      

</div>


{'fraction_non_alphanumeric': 0.2032890132960112, 'fraction_numerical': 0.004198740377886634, 'mean_word_length': 3.004201680672269, 'pattern_counts': {'":': 0, '<': 129, '<?xml version=': 0, '>': 129, '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': '4543765', 'n_tokens_mistral': 1046, 'n_tokens_neox': 986, 'n_words': 192}