X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=app%2Fviews%2Fproducts%2Fedit.html.erb;h=ce912cc0d5fa9f5bbb5edf70a30c5e9e55b238d2;hb=c445da2b4dc5097fcfddf5e40d74c2965573fc1c;hp=18efd5543223585e1f8042fb30fea317ca08ab4a;hpb=3bcc59a4bdb1841a6d979c416649694bf9a2a479;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" %>