diff options
Diffstat (limited to 'billing/app/views/subscriptions/index.html.haml')
-rw-r--r-- | billing/app/views/subscriptions/index.html.haml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/billing/app/views/subscriptions/index.html.haml b/billing/app/views/subscriptions/index.html.haml new file mode 100644 index 0000000..0e84619 --- /dev/null +++ b/billing/app/views/subscriptions/index.html.haml @@ -0,0 +1,7 @@ +- active = false +- @subscriptions.each do |s| + - if s.status == 'Active' + - active = true + = render :partial => "subscription_details", :locals => {:subscription => s} +- if !active + = link_to 'subscribe to plan', new_subscription_path, :class => :btn
\ No newline at end of file |