Commit 4e252445db6b246aead565ee7e411a20f38d9e3e
1 parent
ee1a7bce
Exists in
master
and in
29 other branches
Re-added cart button on product's visualization
Showing
3 changed files
with
4 additions
and
1 deletions
Show diff stats
app/views/catalog/index.rhtml
plugins/shopping_cart/lib/shopping_cart_plugin.rb
plugins/shopping_cart/views/shopping_cart_plugin_profile/buy.html.erb
... | ... | @@ -17,7 +17,7 @@ |
17 | 17 | </div> |
18 | 18 | <% end %> |
19 | 19 | <%= items_table(session[:cart][:items], profile) %> |
20 | - <a href="" onclick="Cart.colorbox_close(this);" class="cart-box-close icon-cancel"/> | |
20 | + <%= link_to '', '#', :onclick => "Cart.colorbox_close(this);", :class => 'cart-box-close icon-cancel' %> | |
21 | 21 | </div> |
22 | 22 | |
23 | 23 | <script type="text/javascript"> | ... | ... |