Sha256: d0b41b59905acb526ed0743f74edd96695d6143f9c1584eb14f2e371aeb1e187

Contents?: true

Size: 620 Bytes

Versions: 12

Compression:

Stored size: 620 Bytes

Contents

= javascript_include_tag 'https://checkout.stripe.com/checkout.js'

= effective_form_with(model: subscripter, url: effective_orders.subscripter_path, remote: true, data: { stripe: subscripter_stripe_data(subscripter) }) do |f|
  = f.hidden_field :user_id, value: current_user.id
  = f.hidden_field :subscribable_global_id
  = f.hidden_field :stripe_token, value: nil
  = f.error :stripe_token

  = f.radios :stripe_plan_id, stripe_plans_collection(f), cards: true, label: false, required: true

  = f.submit 'Choose this Plan', center: true, class: ('effective-orders-stripe-token-required' if f.object.token_required?)

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
effective_orders-4.0.0beta17 app/views/effective/subscripter/_form.html.haml
effective_orders-4.0.0beta16 app/views/effective/subscripter/_form.html.haml
effective_orders-4.0.0beta15 app/views/effective/subscripter/_form.html.haml
effective_orders-4.0.0beta14 app/views/effective/subscripter/_form.html.haml
effective_orders-4.0.0beta13 app/views/effective/subscripter/_form.html.haml
effective_orders-4.0.0beta12 app/views/effective/subscripter/_form.html.haml
effective_orders-4.0.0beta11 app/views/effective/subscripter/_form.html.haml
effective_orders-4.0.0beta10 app/views/effective/subscripter/_form.html.haml
effective_orders-4.0.0beta9 app/views/effective/subscripter/_form.html.haml
effective_orders-4.0.0beta8 app/views/effective/subscripter/_form.html.haml
effective_orders-4.0.0beta7 app/views/effective/subscripter/_form.html.haml
effective_orders-4.0.0beta6 app/views/effective/subscripter/_form.html.haml