Sha256: 7ca9b0c8ccdc06ac1fed1b9b0f6be17b9ce4272356b98944acf15081db67ec79

Contents?: true

Size: 653 Bytes

Versions: 20

Compression:

Stored size: 653 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= link_to 'New Subscription', effective_orders.new_subscription_path

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
effective_orders-1.3.1 app/views/effective/subscriptions/index.html.haml
effective_orders-1.3.0 app/views/effective/subscriptions/index.html.haml
effective_orders-1.2.13 app/views/effective/subscriptions/index.html.haml
effective_orders-1.2.12 app/views/effective/subscriptions/index.html.haml
effective_orders-1.2.11 app/views/effective/subscriptions/index.html.haml
effective_orders-1.2.10 app/views/effective/subscriptions/index.html.haml
effective_orders-1.2.9 app/views/effective/subscriptions/index.html.haml
effective_orders-1.2.8 app/views/effective/subscriptions/index.html.haml
effective_orders-1.2.7 app/views/effective/subscriptions/index.html.haml
effective_orders-1.2.6 app/views/effective/subscriptions/index.html.haml
effective_orders-1.2.5 app/views/effective/subscriptions/index.html.haml
effective_orders-1.2.4 app/views/effective/subscriptions/index.html.haml
effective_orders-1.2.3 app/views/effective/subscriptions/index.html.haml
effective_orders-1.2.2 app/views/effective/subscriptions/index.html.haml
effective_orders-1.2.1 app/views/effective/subscriptions/index.html.haml
effective_orders-1.2.0 app/views/effective/subscriptions/index.html.haml
effective_orders-1.1.2 app/views/effective/subscriptions/index.html.haml
effective_orders-1.1.1 app/views/effective/subscriptions/index.html.haml
effective_orders-1.1.0 app/views/effective/subscriptions/index.html.haml
effective_orders-1.0.0 app/views/effective/subscriptions/index.html.haml