I find it very hard to understand this line. Let's see if breaking the code into two lines and putting the comments on extra lines helps....
```haml
- # permission check or should that just be on show? 
- # should you be able to cancel pending subscription?
- if ['Active', 'Pending'].include? @subscription.status or admin? 
  = link_to t(:cancel_subscription), user_subscription_path(@user, @subscription.id),  :confirm => t(:are_you_sure), :method => :delete, :class => 'btn btn-danger' 
```
okay... that helps me a little. I think this is still not exactly what we want. For example it would show a cancel button on subscriptions that have already been canceled if you're an admin.
I personally would create a cancel_subscription_link helper method and put it in here. Something like this:
```ruby
def cancel_subscription_link
  return if ['Canceled', 'Expired'].include? @subscription.status
  return if !admin? && @subscription.status == 'Past Due'
  link_to t(:cancel_subscription), user_subscription_path(@user, @subscription.id),
    :confirm => t(:are_you_sure),
    :method => :delete,
    :class => 'btn btn-danger'
end
```