Clear the decks for an updated version to be imported
[depot.git] / app / views / products / new.html.erb
diff --git a/app/views/products/new.html.erb b/app/views/products/new.html.erb
deleted file mode 100644 (file)
index 3762d07..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-<h1>New product</h1>
-
-<% form_for(@product) do |f| %>
-  <%= f.error_messages %>
-
-  <p>
-    <%= f.label :title %><br />
-    <%= f.text_field :title %>
-  </p>
-  <p>
-    <%= f.label :description %><br />
-    <%= f.text_area :description %>
-  </p>
-  <p>
-    <%= f.label :image_url %><br />
-    <%= f.text_field :image_url %>
-  </p>
-   <p>
-    <%= f.label :price %><br />
-    <%= f.text_field :price %>
-  </p>
-   <p>
-    <%= f.label :date_available %><br />
-    <%= f.date_select :date_available, :order => [:day, :month, :year] %>
-  </p>
-<p>
-    <%= f.submit "Create" %>
-  </p>
-<% end %>
-
-<%= link_to 'Back', products_path %>