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

+

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

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