Sha256: ae1195b7a44fca6d91befe4c7eed5ceb4a2e001fbf15765f655df3c750f1fd69

Contents?: true

Size: 1.02 KB

Versions: 1

Compression:

Stored size: 1.02 KB

Contents

= render layout: 'shopper/checkout/layout' do
  %h3.general-subtitle Credit Card
  = form_for current_order, url: wizard_path, method: :put, class: 'max-600 mb-80' do |f|
    = f.simple_fields_for :card, presenter.card do |sf|
      = sf.input :number, input_html: { 'data-inputmask': "'mask': '9999 9999 9999 9999'" }
      .row
        .col-sm-6
          = sf.input :name
        .col-sm-3
          = sf.input :expiration_date, as: :string, input_html: { 'data-inputmask': "'mask': '99/99'" }
        .col-sm-3
          = sf.input :cvv, wrapper_html: { class: 'relative' } do
            = sf.input_field :cvv, class: 'form-control', as: :string, 'data-inputmask': "'mask': '999'"
            %i.fa.fa-question-circle.general-form-help.font-18{'data-tipsy': true, 'title': t('checkout.cvv-help')}
    .general-text-align
      = render partial: 'shopper/orders/summary', locals: { order: presenter.order_summary }
    .text-center
      = f.submit t('simple_form.titles.save_and_continue'),
        class: 'btn btn-default center-block mb-20'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shoppper-0.1.0 app/views/shopper/checkout/payment.html.haml