Sha256: 20e6ed518edbc1c7210de08a52298f8dec91f873b1f28c08a78c1b0b4a16ac4a

Contents?: true

Size: 575 Bytes

Versions: 11

Compression:

Stored size: 575 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
  %p= link_to 'Home', root_url

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
effective_orders-1.6.5 app/views/effective/subscriptions/new.html.haml
effective_orders-1.6.4 app/views/effective/subscriptions/new.html.haml
effective_orders-1.6.3 app/views/effective/subscriptions/new.html.haml
effective_orders-1.6.1 app/views/effective/subscriptions/new.html.haml
effective_orders-1.6.0 app/views/effective/subscriptions/new.html.haml
effective_orders-1.5.9 app/views/effective/subscriptions/new.html.haml
effective_orders-1.5.8 app/views/effective/subscriptions/new.html.haml
effective_orders-1.5.7 app/views/effective/subscriptions/new.html.haml
effective_orders-1.5.5 app/views/effective/subscriptions/new.html.haml
effective_orders-1.5.4 app/views/effective/subscriptions/new.html.haml
effective_orders-1.5.3 app/views/effective/subscriptions/new.html.haml