blob: 1e3fb258e1c493af8f52b47d8ceea7399591c3a3 (
plain)
1
2
3
4
5
6
7
8
|
%h2=t :all_subscriptions
- pending_active_pastdue = false
- @subscriptions.each do |s|
- if ['Pending', 'Active','Past Due'].include? s.status
- pending_active_pastdue = true
= render :partial => "subscription_details", :locals => {:subscription => s}
- if !pending_active_pastdue and @user == current_user
= btn 'subscribe to plan', new_subscription_path
|