Sha256: 2ba21fb72b28d7d48f6346e591dc10f43a3b1304881a7a0fc6d4595a72e3cc4f

Contents?: true

Size: 665 Bytes

Versions: 4

Compression:

Stored size: 665 Bytes

Contents

%h2 My Subscriptions

- if @subscriptions.present?
  %p You have the following subscriptions:
  %ul
    - @subscriptions.each do |subscription|
      %li
        = subscription.title.html_safe
        = '('
        = link_to 'details', effective_orders.subscription_path(subscription.stripe_plan_id)
        = '-'
        = link_to 'unsubscribe', effective_orders.subscription_path(subscription.stripe_plan_id), :data => {:method => :delete, :confirm => 'This will cancel your subscription. Are you sure? This cannot be undone.'}
        = ')'
- else
  %p You have no subscriptions

%p.text-right= link_to 'New Subscription', effective_orders.new_subscription_path

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
effective_orders-1.3.5 app/views/effective/subscriptions/index.html.haml
effective_orders-1.3.4 app/views/effective/subscriptions/index.html.haml
effective_orders-1.3.3 app/views/effective/subscriptions/index.html.haml
effective_orders-1.3.2 app/views/effective/subscriptions/index.html.haml