X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=app%2Fviews%2Fproducts%2Findex.html.erb;h=1bed0399ad8347e978c810128e7d7cea163b02d5;hb=2e4e591080e228dec676acf40b9e7bc4b044b8bc;hp=1db53b8ae0b6cd45edcbf1a908b3dbc492abb82f;hpb=cf29841dca2a4ba6313a99576d56e238b700a158;p=depot.git diff --git a/app/views/products/index.html.erb b/app/views/products/index.html.erb index 1db53b8..1bed039 100644 --- a/app/views/products/index.html.erb +++ b/app/views/products/index.html.erb @@ -2,33 +2,40 @@
+ <%= image_tag product.image_url, :class => 'list-image' %> + | +
+
|
- - <%= 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 %> - |
+
+ <%= link_to 'Show', product %> + <%= link_to 'Edit', edit_product_path(product) %> + <%= link_to 'Destroy', product, :confirm => 'Are you sure?', :method => :delete %> + |