summaryrefslogtreecommitdiff
path: root/engines/billing/app/views/subscriptions/show.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'engines/billing/app/views/subscriptions/show.html.haml')
-rw-r--r--engines/billing/app/views/subscriptions/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/billing/app/views/subscriptions/show.html.haml b/engines/billing/app/views/subscriptions/show.html.haml
index af1a5a5..246ebf0 100644
--- a/engines/billing/app/views/subscriptions/show.html.haml
+++ b/engines/billing/app/views/subscriptions/show.html.haml
@@ -4,4 +4,4 @@
Subscription
= render :partial => "subscription_details", :locals => {:subscription => @subscription}
- if allow_cancel_subscription(@subscription)
- = btn :cancel_subscription, user_subscription_path(@user, @subscription.id), :confirm => t(:are_you_sure), :method => :delete, :type => 'danger'
+ = destroy_btn :cancel_subscription, user_subscription_path(@user, @subscription.id), type: 'danger'