X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=app%2Fviews%2Fproducts%2Fshow.html.erb;fp=app%2Fviews%2Fproducts%2Fshow.html.erb;h=124ab7756fce492c1c0b81c591bc175b8d9f7e34;hb=cf29841dca2a4ba6313a99576d56e238b700a158;hp=a5f0eac8b6a295687cc4eee5913c7638bb8f29fc;hpb=e580d4626176c8deb6f44fec7e66f980b5923b29;p=depot.git diff --git a/app/views/products/show.html.erb b/app/views/products/show.html.erb index a5f0eac..124ab77 100644 --- a/app/views/products/show.html.erb +++ b/app/views/products/show.html.erb @@ -13,6 +13,11 @@ <%=h @product.image_url %>

+

+ Price: + <%=h @product.price %> +

+ <%= link_to 'Edit', edit_product_path(@product) %> | <%= link_to 'Back', products_path %>