<% content_for :head do %> <%= javascript_include_tag 'checkout', '/states' %> <% end %>

<%= t("checkout")%>

<% form_for @checkout, :url => object_url, :html => { :method => :put, :id => 'checkout_form'} do |checkout_form| %> <%= render 'form', :checkout_form => checkout_form %> <% end %>
<%= render 'summary' %>