2015-09-19 11:05:43 +02:00
|
|
|
= content_for :title, "Products"
|
2015-09-17 14:05:33 +02:00
|
|
|
#products-errors
|
|
|
|
.row.products
|
|
|
|
.col-md-8.col-md-offset-2
|
2015-09-28 21:51:40 +02:00
|
|
|
= link_to "Add products", barcode_products_path, class: "btn btn-default"
|
2015-09-17 14:05:33 +02:00
|
|
|
%table#products-table.table.table-striped
|
|
|
|
%tr
|
|
|
|
%th
|
|
|
|
%th Name
|
|
|
|
%th Price
|
|
|
|
%th Stock
|
|
|
|
%th Deleted
|
|
|
|
%th Kilocalorieën
|
|
|
|
%th
|
|
|
|
= render partial: 'products_list/product_row', collection: @products, as: :product
|