summaryrefslogtreecommitdiff
path: root/billing/app/views/subscriptions/show.html.haml
blob: 10eb6673bf805f88d71b0bf741d5ae09fe42e85f (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), subscription_path,  :confirm => t(:are_you_sure), :method => :delete, :class => 'btn btn-danger' if @subscription.status == 'Active' # permission check or should that just be on show?