Added date_available_from to products, updated conditions in product.find_products_fo...
[depot.git] / app / views / products / show.html.erb
index fb3631e331d8ba8c51461de4f457f0493fd742e3..5fc752ff6b6227a50608a82b241760fd7fb94c7d 100644 (file)
   <%=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 %>