21 lines
599 B
Text
21 lines
599 B
Text
<div id="products-errors"></div>
|
|
<div class="row products">
|
|
<div class="col-md-8 col-md-offset-2">
|
|
<h1>Products</h1>
|
|
<%= render partial: 'flash' %>
|
|
<%= link_to "Add Stock", new_stock_path, class: "btn btn-default" %>
|
|
|
|
<table id="products-table" class="table table-striped">
|
|
<tr>
|
|
<th></th>
|
|
<th>Name</th>
|
|
<th>Price</th>
|
|
<th>Stock</th>
|
|
<th>Deleted</th>
|
|
<th>Kilocalorieën</th>
|
|
<th></th>
|
|
</tr>
|
|
<%= render partial: 'products_list/product_row', collection: @products, as: :product %>
|
|
</table>
|
|
</div>
|
|
</div>
|