X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=app%2Fviews%2Flayouts%2Fstore.html.erb;h=b1f928e99aa5dd06fc4e613f969626f74767372d;hb=05c481a0756c1fa0a9956b21a912de2c10914ef2;hp=5f2d4f10bd04a50ff6cedb36881cd420bc9fd805;hpb=aff195f08c5fc2b8db74058b34720164148cfb4e;p=depot.git diff --git a/app/views/layouts/store.html.erb b/app/views/layouts/store.html.erb index 5f2d4f1..b1f928e 100644 --- a/app/views/layouts/store.html.erb +++ b/app/views/layouts/store.html.erb @@ -14,10 +14,10 @@
-
+ <% hidden_div_if(@cart.items.empty?, :id => "cart") do %> <%= render(:partial => "cart" , :object => @cart) %> -
- Home
+ <% end %> + Home
Questions
News
Contact
@@ -26,8 +26,9 @@ <% if flash[:notice] -%>
<%= flash[:notice] %>
<% end -%> - - <%= yield :layout %> +
+ <%= yield :layout %> +