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=0000000000000000000000000000000000000000;hb=be9356cf35ae0ccfc15674b786386a61278bf305;hp=18efd5543223585e1f8042fb30fea317ca08ab4a;hpb=3b424e341e1dda1f67b4461de089b76eb69bbc70;p=depot.git diff --git a/app/views/products/edit.html.erb b/app/views/products/edit.html.erb deleted file mode 100644 index 18efd55..0000000 --- a/app/views/products/edit.html.erb +++ /dev/null @@ -1,32 +0,0 @@ -

Editing product

- -<% form_for(@product) do |f| %> - <%= f.error_messages %> - -

- <%= f.label :title %>
- <%= f.text_field :title %> -

-

- <%= f.label :description %>
- <%= f.text_area :description %> -

-

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

-<% end %> - -<%= link_to 'Show', @product %> | -<%= link_to 'Back', products_path %>