projects
/
depot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Finished chapter 6
[depot.git]
/
app
/
views
/
products
/
show.html.erb
diff --git
a/app/views/products/show.html.erb
b/app/views/products/show.html.erb
index a5f0eac8b6a295687cc4eee5913c7638bb8f29fc..124ab7756fce492c1c0b81c591bc175b8d9f7e34 100644
(file)
--- a/
app/views/products/show.html.erb
+++ b/
app/views/products/show.html.erb
@@
-13,6
+13,11
@@
<%=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 %>