Sha256: 056bea43d59650643c21597db6f938f52b0a87911be782f63bf741173c3daaa2

Contents?: true

Size: 1.04 KB

Versions: 5

Compression:

Stored size: 1.04 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  
        = f.fields_for :billing_address do |ff|
          = render 'address', ff: ff
      .col-md-4.col-sm-4.text-center
        %h2
          Shipping 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 :shipping_address do |ss|
          = render 'address', ff: ss
          .actions
            .col-md-6
              = link_to 'Back', previous_wizard_path, class: 'btn btn-default btn-block'
            .col-md-6
              = f.submit 'Continue', class: 'btn btn-success btn-block'
      .col-md-4.col-sm-4.text-center
        %h2
          Order Summary
        = render 'summary'


Version data entries

5 entries across 4 versions & 1 rubygems

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