From 2829e7020abcf6d2f708fbc7dfb3db98ad174255 Mon Sep 17 00:00:00 2001 From: jessib Date: Mon, 15 Apr 2013 12:13:33 -0700 Subject: Displaying of user's subscription. Still not committed to whether user can have multiple subscriptions at a time or not. --- billing/app/views/customer/edit.html.haml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'billing/app/views/customer/edit.html.haml') diff --git a/billing/app/views/customer/edit.html.haml b/billing/app/views/customer/edit.html.haml index 0f37e61..400c5e2 100644 --- a/billing/app/views/customer/edit.html.haml +++ b/billing/app/views/customer/edit.html.haml @@ -19,8 +19,7 @@ = # (#{link_to @default_cc.token, edit_credit_card_info_path(:id => @default_cc.token)}) - if @subscriptions.any? %li - Active Subscriptions + Active Subscriptions # todo: won't really have multiple subscriptions = render(:partial => "subscription", :collection => @subscriptions) - = hidden_field_tag :tr_data, @tr_data = f.submit 'Save Payment Info' \ No newline at end of file -- cgit v1.2.3