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