projects
/
depot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added availability date to product table
[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 124ab7756fce492c1c0b81c591bc175b8d9f7e34..fb3631e331d8ba8c51461de4f457f0493fd742e3 100644
(file)
--- a/
app/views/products/show.html.erb
+++ b/
app/views/products/show.html.erb
@@
-18,6
+18,11
@@
<%=h @product.price %>
</p>
+<p>
+ <b>Date available:</b>
+ <%=h @product.date_available %>
+</p>
+
<%= link_to 'Edit', edit_product_path(@product) %> |
<%= link_to 'Back', products_path %>