X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=app%2Fviews%2Fproducts%2Fedit.html.erb;h=ce912cc0d5fa9f5bbb5edf70a30c5e9e55b238d2;hb=2e4e591080e228dec676acf40b9e7bc4b044b8bc;hp=af3b7473f3329b0a2c7bb9870e66a0e39f72670a;hpb=e580d4626176c8deb6f44fec7e66f980b5923b29;p=depot.git diff --git a/app/views/products/edit.html.erb b/app/views/products/edit.html.erb index af3b747..ce912cc 100644 --- a/app/views/products/edit.html.erb +++ b/app/views/products/edit.html.erb @@ -15,6 +15,18 @@ <%= f.label :image_url %>
<%= f.text_field :image_url %>

+

+ <%= f.label :price %>
+ <%= f.text_field :price %> +

+

+ <%= 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" %>