X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=app%2Fviews%2Fproducts%2Fshow.html.erb;h=fb3631e331d8ba8c51461de4f457f0493fd742e3;hb=09cd438e77dd418b03b67e3e6a4b48ec95b72d1d;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..fb3631e 100644 --- a/app/views/products/show.html.erb +++ b/app/views/products/show.html.erb @@ -13,6 +13,16 @@ <%=h @product.image_url %>

+

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

+ +

+ Date available: + <%=h @product.date_available %> +

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