summaryrefslogtreecommitdiff
path: root/engines/billing/app/views/subscriptions/show2.html.haml
blob: 246ebf0bc82fdda1729ec4965c0d05ac92000c51 (plain)
1
2
3
4
5
6
7
%h1
  - if @subscription.status == 'Active'
    Current
  Subscription
= render :partial => "subscription_details",  :locals => {:subscription => @subscription}
- if allow_cancel_subscription(@subscription)
  = destroy_btn :cancel_subscription, user_subscription_path(@user, @subscription.id),  type: 'danger'