Sha256: 5ae811a2519799616c8d0744ccb9a3c47f10c143c7b3199bd406b01b5d4a2e98
Contents?: true
Size: 723 Bytes
Versions: 18
Compression:
Stored size: 723 Bytes
Contents
.effective-orders-customer{ data: { stripe: stripe.to_json, submit: submit.to_json } } - if f.object.token_required? = f.input :stripe_token, as: :effective_static_control, label: 'Credit Card', required: true, value: f.object.customer.payment_status + ' ' + content_tag(:span, '', class: 'active-card') %p= link_to 'Update Card Details', '#', class: 'btn btn-primary btn-change-card' - else = f.input :stripe_token, as: :effective_static_control, label: 'Credit Card', required: false, value: f.object.customer.payment_status + ' ' + content_tag(:span, f.object.customer.active_card, class: 'active-card') %p= link_to 'Update Card Details', '#', class: 'btn btn-default btn-change-card'
Version data entries
18 entries across 18 versions & 1 rubygems