Added date_available_from to products, updated conditions in product.find_products_fo...
[depot.git] / app / views / products / new.html.erb
index 9eac9ae2ef1ed723c9c91d4c7f6a29c480e3f68a..339feb84c9ac3f589fa0dde0229f2d1bae05367c 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 "Create" %>
   </p>