Sha256: 54c61a808c5e75aaaec95d86bd8454ed073fe4df9f210497f77e60bd8714f147
Contents?: true
Size: 1.24 KB
Versions: 3
Compression:
Stored size: 1.24 KB
Contents
<h1>Check Out</h1> <% cache @cart do %> <%= render :partial => '/tb_commerce/carts/cart', :locals => {:editable => false, :cart => tb_commerce_current_cart} %> <% end %> <p><strong>Step 1: Enter your shipping information.</strong></p> <%= tb_form_for [:tb_commerce, :api, @order], :url => tb_commerce_api_orders_path, :remote => true, :data => {:errors => :inline, :success => tb_commerce_checkout_billing_path} do |f| %> <%= f.tb_text_field :name %> <%= f.tb_text_field :email %> <%= f.tb_text_field :phone %> <%= f.tb_text_field :address %> <%= f.tb_text_field :city %> <%= f.tb_form_group do %> <%= f.tb_label :country %> <div class="col-sm-10"> <%= f.country_select :country, {:priority_countries => ['US', 'CA'], :prompt => 'Select Country', :selected => 'US'}, :class => 'form-control country-select', :data => {:api => tb_commerce_api_states_path, :state => 'tb_commerce_order_state'} %> </div> <% end %> <%= f.tb_select :state, {:prompt => 'Select State'} %> <%= f.tb_text_field :postal %> <%= f.tb_form_group do %> <div class="col-sm-10 col-sm-offset-2"> <%= f.submit 'Save and Continue', :class => 'btn btn-primary', :data => {:disable_with => 'Saving...'} %> </div> <% end %> <% end %>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tb_commerce-0.0.4 | app/views/tb_commerce/checkout/new.html.erb |
tb_commerce-0.0.3 | app/views/tb_commerce/checkout/new.html.erb |
tb_commerce-0.0.2 | app/views/tb_commerce/checkout/new.html.erb |