projects
/
depot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated order display
[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..5fc752ff6b6227a50608a82b241760fd7fb94c7d 100644
(file)
--- a/
app/views/products/show.html.erb
+++ b/
app/views/products/show.html.erb
@@
-13,6
+13,20
@@
<%=h @product.image_url %>
</p>
<%=h @product.image_url %>
</p>
+<p>
+ <b>Price:</b>
+ <%=h @product.price %>
+</p>
+
+<p>
+ <b>Date available:</b>
+ <%=h @product.date_available %>
+</p>
+
+<p>
+ <b>Available until:</b>
+ <%=h @product.date_available_until %>
+</p>
<%= link_to 'Edit', edit_product_path(@product) %> |
<%= link_to 'Back', products_path %>
<%= link_to 'Edit', edit_product_path(@product) %> |
<%= link_to 'Back', products_path %>