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

+

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

+ +

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

+ +

+ Available until: + <%=h @product.date_available_until %> +

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