X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=app%2Fviews%2Fproducts%2Fedit.html.erb;fp=app%2Fviews%2Fproducts%2Fedit.html.erb;h=18efd5543223585e1f8042fb30fea317ca08ab4a;hb=3b424e341e1dda1f67b4461de089b76eb69bbc70;hp=7aa095b3f9eb37d4d1bee0a5a835546ff2cdf09e;hpb=cf29841dca2a4ba6313a99576d56e238b700a158;p=depot.git diff --git a/app/views/products/edit.html.erb b/app/views/products/edit.html.erb index 7aa095b..18efd55 100644 --- a/app/views/products/edit.html.erb +++ b/app/views/products/edit.html.erb @@ -19,6 +19,10 @@ <%= f.label :price %>
<%= f.text_field :price %>

+

+ <%= f.label :date_available %>
+ <%= f.date_select :date_available, :order => [:day, :month, :year] %> +

<%= f.submit "Update" %>