X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=app%2Fviews%2Fstore%2Findex.html.erb;h=c65b69b114087113b282c84c086517e72c043c61;hb=94adcb93b1eac6b07408de9db7f12d46e9e7d390;hp=c9f41e402827a1e0d2231017607b9aaad7526fca;hpb=825cf787828710d8ac9084cc21bfe7ab5d27c54e;p=depot.git diff --git a/app/views/store/index.html.erb b/app/views/store/index.html.erb index c9f41e4..c65b69b 100644 --- a/app/views/store/index.html.erb +++ b/app/views/store/index.html.erb @@ -6,7 +6,7 @@

<%= link_to h(product.title), {:action => "add_to_cart", :id => product}, :method => "post" %>

<%= product.description %>
- <%= number_to_currency product.price, :unit => "£" %> + <%= number_to_currency product.price, :unit => "£" %> <%= button_to "Add to cart", :action => "add_to_cart", :id => product %>