Sha256: 16cbdff081494d7638d84c5de67ae07650f5494bccab4143327c95e9f4b7c2a4
Contents?: true
Size: 547 Bytes
Versions: 44
Compression:
Stored size: 547 Bytes
Contents
%h2 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
44 entries across 44 versions & 1 rubygems