<h2>Your cart:</h2>
<table>
  <%= render(cart.line_items) %>
</table>
<%= button_to 'Empty cart', cart, method: :delete, data: { confirm: 'Are you sure?' } %>
<%= button_to 'Download forms', "/download" %>

<h2>Your cart:</h2>
<table>
  <%= render(cart.line_items) %>
</table>
<%= button_to 'Empty cart', cart, method: :delete %>
<%= button_to 'Download forms', "/download" %>

Remove irritating "Are you sure?" alert from "Empty Cart" button
Remove irritating "Are you sure?" alert from "Empty Cart" button
