New Subscription

<%= simple_form_for :subscription, :url => subscribe_subscription_path(@plan.id), :id => "checkout-form" do |f| %> <% if current_user and !current_user.has_payment_info? %> <%= render 'customer_form'%> <% end %>

Please enter payment details:

<%= f.submit t(:subscribe), :class => 'btn btn-primary' %>
<% end %>