summaryrefslogtreecommitdiff
path: root/billing/app/views/subscriptions/show.html.haml
blob: 2699db91f534832598ae0499a238f1088bffd967 (plain)
1
2
3
4
5
6
%h1
  - if @subscription.status == 'Active'
    Current
  Subscription
= render :partial => "subscription_details",  :locals => {:subscription => @subscription}
= link_to t(:cancel_subscription), user_subscription_path(@user, @subscription.id),  :confirm => t(:are_you_sure), :method => :delete, :class => 'btn btn-danger' if allow_cancel_subscription(@subscription)