Added date_available_from to products, updated conditions in product.find_products_fo...
[depot.git] / app / views / products / edit.html.erb
index 18efd5543223585e1f8042fb30fea317ca08ab4a..ce912cc0d5fa9f5bbb5edf70a30c5e9e55b238d2 100644 (file)
     <%= f.label :date_available %><br />
     <%= f.date_select :date_available, :order => [:day, :month, :year] %>
   </p>
+  <p>
+    <%= f.label :date_available_until %><br />
+    <%= f.date_select :date_available_until, :order => [:day, :month, :year], :include_blank => true %>
+  </p>
   <p>
     <%= f.submit "Update" %>
   </p>