X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=app%2Fviews%2Fproducts%2Fnew.html.erb;fp=app%2Fviews%2Fproducts%2Fnew.html.erb;h=339feb84c9ac3f589fa0dde0229f2d1bae05367c;hb=c445da2b4dc5097fcfddf5e40d74c2965573fc1c;hp=9eac9ae2ef1ed723c9c91d4c7f6a29c480e3f68a;hpb=3bcc59a4bdb1841a6d979c416649694bf9a2a479;p=depot.git diff --git a/app/views/products/new.html.erb b/app/views/products/new.html.erb index 9eac9ae..339feb8 100644 --- a/app/views/products/new.html.erb +++ b/app/views/products/new.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 "Create" %>