app/views/piggybak/cart/_items.html.erb in piggybak-0.6.30 vs app/views/piggybak/cart/_items.html.erb in piggybak-0.6.31
- old
+ new
@@ -14,11 +14,11 @@
<tr>
<td><%= item[:sellable].description %></td>
<td><%= number_to_currency item[:sellable].price %></td>
<td>
<% if page == "cart" -%>
- <%= text_field_tag "quantity[#{item[:sellable].id}]", item[:quantity] %>
+ <%= number_field_tag "quantity[#{item[:sellable].id}]", item[:quantity] %>
<% else -%>
<%= item[:quantity] %>
<% end -%>
</td>
<td><%= number_to_currency item[:quantity]*item[:sellable].price %></td>
@@ -64,10 +64,12 @@
</tr>
<% end -%>
</table>
<% if page == "cart" %>
-<%= link_to "Proceed to Checkout", piggybak.orders_url, :id => "checkout" %>
+<div data-no-turbolink>
+ <%= link_to "Proceed to Checkout", piggybak.orders_url, :id => "checkout" %>
+</div>
<%= submit_tag "Update", :id => "update" %>
<% end -%>
<% end -%>
<% else -%>