Finished chapter 6
[depot.git] / app / views / products / show.html.erb
index a5f0eac8b6a295687cc4eee5913c7638bb8f29fc..124ab7756fce492c1c0b81c591bc175b8d9f7e34 100644 (file)
   <%=h @product.image_url %>
 </p>
 
+<p>
+  <b>Price:</b>
+  <%=h @product.price %>
+</p>
+
 
 <%= link_to 'Edit', edit_product_path(@product) %> |
 <%= link_to 'Back', products_path %>