projects
/
depot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
End chapter 10
[depot.git]
/
app
/
views
/
store
/
_cart.html.erb
diff --git
a/app/views/store/_cart.html.erb
b/app/views/store/_cart.html.erb
index cc84043d9180968f7431ab16e7be41546fa38ca0..43e9a162a543f653864065095d9697a81a3e5038 100644
(file)
--- a/
app/views/store/_cart.html.erb
+++ b/
app/views/store/_cart.html.erb
@@
-8,6
+8,10
@@
</tr>
</table>
+<% form_remote_tag :url => {:action => 'checkout'} do %>
+ <%= submit_tag "Checkout" %>
+<% end %>
+
<% form_remote_tag :url => {:action => 'empty_cart'} do %>
<%= submit_tag "Empty cart" %>
<% end %>