Sha256: c2dbfcb28d11ea3aa8284182e4a481af44fb9ed3bebf6fd5d7f5c79b734e7041

Contents?: true

Size: 530 Bytes

Versions: 5

Compression:

Stored size: 530 Bytes

Contents

%h1.effective-heading= @page_title

- 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

5 entries across 5 versions & 1 rubygems

Version Path
effective_orders-2.2.4 app/views/effective/subscriptions/new.html.haml
effective_orders-2.2.3 app/views/effective/subscriptions/new.html.haml
effective_orders-2.2.2 app/views/effective/subscriptions/new.html.haml
effective_orders-2.2.1 app/views/effective/subscriptions/new.html.haml
effective_orders-2.2.0 app/views/effective/subscriptions/new.html.haml