Sha256: 52adfa6fd49170958011b4c6c5720deaddeba59b4e54ace72d3fdd0ef104e1eb

Contents?: true

Size: 544 Bytes

Versions: 28

Compression:

Stored size: 544 Bytes

Contents

%h2.effective-orders-page-title New Subscription

- if @plans.present?
  = simple_form_for(@subscription, (EffectiveOrders.simple_form_options || {}).merge(:url => effective_orders.subscriptions_path, :method => :post)) do |f|
    = f.input :stripe_plan_id, :as => :select, :collection => stripe_plans_collection(@plans), :include_blank => false, :label => 'Plan'
    = f.input :stripe_coupon_id, :placeholder => 'Coupon Code', :label => 'Coupon'
    = f.submit 'Add to Cart', :class => 'btn btn-primary'
- else
  %p No available Subscriptions

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
effective_orders-1.8.0 app/views/effective/subscriptions/new.html.haml
effective_orders-1.7.5 app/views/effective/subscriptions/new.html.haml
effective_orders-1.7.4 app/views/effective/subscriptions/new.html.haml
effective_orders-1.7.3 app/views/effective/subscriptions/new.html.haml
effective_orders-1.7.2 app/views/effective/subscriptions/new.html.haml
effective_orders-1.7.1 app/views/effective/subscriptions/new.html.haml
effective_orders-1.7.0 app/views/effective/subscriptions/new.html.haml
effective_orders-1.6.6 app/views/effective/subscriptions/new.html.haml