Sha256: eca56022bda171248e059edae6471e1d6ccd110d567b391097a26c209692edd6

Contents?: true

Size: 964 Bytes

Versions: 14

Compression:

Stored size: 964 Bytes

Contents

header
  nav.navbar.navbar-default role="navigation"
    .container
      /! Brand and toggle get grouped for better mobile display
      .navbar-header
        = link_to current_store.name, comable.root_path, class: 'navbar-brand'
      - unless devise_controller?
        /! Collect the nav links, forms, and other content for toggling
        .navbar-collapse
          ol.nav.navbar-nav.navbar-right.comable-checkout-flow
            li.signin class="#{'active' if action_name == 'signin'}"
              = Comable.t('checkout_flow.sign_in')
            li.addresses class="#{'active' if params[:state].in? %w( orderer delivery payment shipment )}"
              = Comable.t('checkout_flow.address_and_payment')
            li.confirm class="#{'active' if params[:state] == 'confirm'}"
              = Comable.t('checkout_flow.confirm')
            li.complete class="#{'active' if action_name == 'create'}"
              = Comable.t('checkout_flow.complete')

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
comable-frontend-0.7.1 app/views/comable/shared/_header_for_checkout.slim
comable-frontend-0.7.0 app/views/comable/shared/_header_for_checkout.slim
comable-frontend-0.7.0.beta2 app/views/comable/shared/_header_for_checkout.slim
comable-frontend-0.7.0.beta1 app/views/comable/shared/_header_for_checkout.slim
comable-frontend-0.6.0 app/views/comable/shared/_header_for_checkout.slim
comable_frontend-0.5.0 app/views/comable/shared/_header_for_checkout.slim
comable_frontend-0.4.2 app/views/comable/shared/_header_for_checkout.slim
comable_frontend-0.4.1 app/views/comable/shared/_header_for_checkout.slim
comable_frontend-0.4.0 app/views/comable/shared/_header_for_checkout.slim
comable_frontend-0.3.4 app/views/comable/shared/_header_for_checkout.slim
comable_frontend-0.3.3 app/views/comable/shared/_header_for_checkout.slim
comable_frontend-0.3.2 app/views/comable/shared/_header_for_checkout.slim
comable_frontend-0.3.1 app/views/comable/shared/_header_for_checkout.slim
comable_frontend-0.3.0 app/views/comable/shared/_header_for_checkout.slim