2014-11-10 15:52:54 +01:00
|
|
|
<h1>Products#show</h1>
|
|
|
|
<p>Find me in app/views/products/show.html.erb</p>
|
|
|
|
name: <%= @product.name %></br>
|
2014-11-10 17:06:50 +01:00
|
|
|
verkoop prijs: <%= @product.sale_price %> EUR cent</br>
|
|
|
|
aankoop prijs: <%= @product.purchase_price %> EUR cent</br>
|
|
|
|
|
|
|
|
|
|
|
|
<%= link_to "Edit", edit_product_path(@product), class: "btn btn-lg btn-primary" %>
|