Skip to content

Commit

Permalink
カートを空にするボタンを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
kyanny committed Jan 20, 2010
1 parent 138d859 commit 1112e2a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions depot/app/views/store/add_to_cart.html.erb
Expand Up @@ -3,4 +3,6 @@
<% for item in @cart.items %>
<li><%= item.quantity %> &times; <%=h item.title %></li>
<% end %>
<%= button_to "カートを空にする", :action => "empty_cart" %>
</ul>

0 comments on commit 1112e2a

Please sign in to comment.