From 577c1f3e92040ab79fcd67b818c7dc8531aaa211 Mon Sep 17 00:00:00 2001 From: claucece Date: Wed, 23 Sep 2015 23:57:44 -0500 Subject: add subs_index and start show --- .../billing/app/views/subscriptions/show.html.erb | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 engines/billing/app/views/subscriptions/show.html.erb (limited to 'engines/billing/app/views/subscriptions/show.html.erb') diff --git a/engines/billing/app/views/subscriptions/show.html.erb b/engines/billing/app/views/subscriptions/show.html.erb new file mode 100644 index 0000000..f3c730d --- /dev/null +++ b/engines/billing/app/views/subscriptions/show.html.erb @@ -0,0 +1,26 @@ + +

New Subscription +

+
+<%= simple_form_for :subscription, :url => :subscriptions, :id => "checkout-form-#{subscription.id}" do |f| %> + + <% if current_user and !current_user.has_payment_info? %> + <%= render 'customer_form'%> + <% end %> +
+

Please enter payment details:

+
+
+ <%= f.submit t(:choose), :class => 'btn btn-primary' %> +
+ + <% end %> +
+
+ -- cgit v1.2.3