Sha256: af865629f02f7321650342758b38ca1c90dbdb02dbc93c539d1e3480d994030e

Contents?: true

Size: 1.09 KB

Versions: 117

Compression:

Stored size: 1.09 KB

Contents

- form ||= local_assigns[:form] || local_assigns[:f]

= render 'effective/orders/order_notes', order: form.object
= render 'effective/orders/order_items', order: form.object

= form.hidden_field :confirmed_checkout, value: true

- if current_cart.present?
  .effective-order-change-items
    = link_to 'Change Items', effective_orders.cart_path, rel: :nofollow, class: 'btn btn-secondary'

- num_addresses = [EffectiveOrders.billing_address, EffectiveOrders.shipping_address].count(true)

- if num_addresses > 0
  .effective-order-addresses
    .row
      - if EffectiveOrders.billing_address
        %div{class: "col-md-#{12 / num_addresses}"}
          %h2 Billing Address
          = effective_address_fields(form, :billing_address)

      - if EffectiveOrders.shipping_address
        %div{class: "col-md-#{12 / num_addresses}"}
          %h2 Shipping Address
          = effective_address_fields(form, :shipping_address)

- if EffectiveOrders.collect_note
  = render 'effective/orders/fields_note', form: form

- if EffectiveOrders.terms_and_conditions
  = render 'effective/orders/fields_terms', form: form

Version data entries

117 entries across 117 versions & 1 rubygems

Version Path
effective_orders-6.5.3 app/views/effective/orders/_fields.html.haml
effective_orders-6.5.2 app/views/effective/orders/_fields.html.haml
effective_orders-6.5.1 app/views/effective/orders/_fields.html.haml
effective_orders-6.5.0 app/views/effective/orders/_fields.html.haml
effective_orders-6.4.4 app/views/effective/orders/_fields.html.haml
effective_orders-6.4.3 app/views/effective/orders/_fields.html.haml
effective_orders-6.4.2 app/views/effective/orders/_fields.html.haml
effective_orders-6.4.1 app/views/effective/orders/_fields.html.haml
effective_orders-6.4.0 app/views/effective/orders/_fields.html.haml
effective_orders-6.3.2 app/views/effective/orders/_fields.html.haml
effective_orders-6.3.1 app/views/effective/orders/_fields.html.haml
effective_orders-6.3.0 app/views/effective/orders/_fields.html.haml
effective_orders-6.2.1 app/views/effective/orders/_fields.html.haml
effective_orders-6.2.0 app/views/effective/orders/_fields.html.haml
effective_orders-6.1.5 app/views/effective/orders/_fields.html.haml
effective_orders-6.1.4 app/views/effective/orders/_fields.html.haml
effective_orders-6.1.3 app/views/effective/orders/_fields.html.haml
effective_orders-6.1.2 app/views/effective/orders/_fields.html.haml
effective_orders-6.1.1 app/views/effective/orders/_fields.html.haml
effective_orders-6.1.0 app/views/effective/orders/_fields.html.haml