Sha256: 780a8f6ec6c05179b45292ec3108d595b1089a92e8a21dbaf333021c4f109235

Contents?: true

Size: 1 KB

Versions: 4

Compression:

Stored size: 1 KB

Contents

.container
  .row.text-center
    %h2.text-center
      Checkout
    = render 'progress'
  = form_for @order, url: wizard_path do |f|
    .row
      .col-md-4.col-sm-4
        %h2
          Billing Address  
        - if @order.errors.any?
          #error_explanation.alert.alert-danger
            %h4= "#{pluralize(@order.errors.count, "error")} prohibited this order from being saved:"
            %ul
              - @order.errors.full_messages.each do |msg|
                %li= msg
        = f.fields_for :billing_address do |ff|
          = render 'address', ff: ff
      .col-md-4.col-sm-4.text-center
        %h2
          Shipping Address 
        .checkbox
          %label
            = check_box(:shipping, :use_billing_address, {:checked => true}, true, false)
            Use billing address
      .col-md-4.col-sm-4.text-center
        %h2
          Order Summary
        = render 'summary'

    .row
      .col-md-4.col-sm-4.actions
        = f.submit 'Save and continue', class: 'btn btn-success btn-block'


Version data entries

4 entries across 3 versions & 1 rubygems

Version Path
simple_cart-0.0.5 app/views/simple_cart/checkout/billing.html.haml
simple_cart-0.0.5 spec/dummy/app/views/simple_cart/checkout/billing.html.haml
simple_cart-0.0.4 app/views/simple_cart/checkout/billing.html.haml
simple_cart-0.0.3 app/views/simple_cart/checkout/billing.html.haml