X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=app%2Fviews%2Fproducts%2Findex.html.erb;fp=app%2Fviews%2Fproducts%2Findex.html.erb;h=ef89bd927117f73562e3811e38a1fa5e7205230e;hb=09cd438e77dd418b03b67e3e6a4b48ec95b72d1d;hp=0000000000000000000000000000000000000000;hpb=be9356cf35ae0ccfc15674b786386a61278bf305;p=depot.git diff --git a/app/views/products/index.html.erb b/app/views/products/index.html.erb new file mode 100644 index 0000000..ef89bd9 --- /dev/null +++ b/app/views/products/index.html.erb @@ -0,0 +1,34 @@ +
+ <%= image_tag product.image_url, :class => 'list-image' %> + | +
+
|
+
+
+ <%= link_to 'Show', product %> + <%= link_to 'Edit', edit_product_path(product) %> + <%= link_to 'Destroy', product, :confirm => 'Are you sure?', :method => :delete %> + |
+