X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=app%2Fviews%2Fproducts%2Fedit.html.erb;h=ce912cc0d5fa9f5bbb5edf70a30c5e9e55b238d2;hb=HEAD;hp=18efd5543223585e1f8042fb30fea317ca08ab4a;hpb=3b424e341e1dda1f67b4461de089b76eb69bbc70;p=depot.git
diff --git a/app/views/products/edit.html.erb b/app/views/products/edit.html.erb
index 18efd55..ce912cc 100644
--- a/app/views/products/edit.html.erb
+++ b/app/views/products/edit.html.erb
@@ -23,6 +23,10 @@
<%= f.label :date_available %>
<%= f.date_select :date_available, :order => [:day, :month, :year] %>
+ <%= f.label :date_available_until %>
+ <%= f.date_select :date_available_until, :order => [:day, :month, :year], :include_blank => true %>
+
<%= f.submit "Update" %>