11 lines
282 B
Text
11 lines
282 B
Text
<aside>
|
|
|
|
|
|
<p>Products#show</p>
|
|
<p>Name: <%= @product.name %></p>
|
|
<p>Purchase price: <%= @product.purchase_price %> </p>
|
|
<p>Sale price: <%= @product.sale_price %> </p>
|
|
<p><%= image_tag @product.avatar %></p>
|
|
<%= link_to "edit", edit_product_path(@product) %>
|
|
|
|
</aside>
|