summaryrefslogtreecommitdiff
path: root/billing/app/views/subscriptions/show.html.haml
blob: bc85fd9a5e20aa65867ee4d136e7843fc02d4cb2 (plain)
1
2
= render :partial => "subscription_details",  :locals => {:subscription => @subscription}
= link_to t(:Cancel), subscription_path,  :confirm => 'Are you sure?', :method => :delete, :class => 'btn btn-danger' if @subscription.status == 'Active' # permission check or should that just be on show?