X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;ds=inline;f=app%2Fviews%2Fproducts%2Fnew.html.erb;h=9eac9ae2ef1ed723c9c91d4c7f6a29c480e3f68a;hb=94adcb93b1eac6b07408de9db7f12d46e9e7d390;hp=f93593799e4963301c96ddaf4aa8f6e73d1956fa;hpb=e580d4626176c8deb6f44fec7e66f980b5923b29;p=depot.git
diff --git a/app/views/products/new.html.erb b/app/views/products/new.html.erb
index f935937..9eac9ae 100644
--- a/app/views/products/new.html.erb
+++ b/app/views/products/new.html.erb
@@ -15,6 +15,14 @@
<%= 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.submit "Create" %>