Sha256: d386b6642aba8527637058a95c21d1a27263c1f8b1849f3c2e7814be1e360465
Contents?: true
Size: 899 Bytes
Versions: 39
Compression:
Stored size: 899 Bytes
Contents
%h2.effective-orders-page-title 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.'} = ')' - if @active_stripe_subscription.present? %p Your current subscription will be renewed automatically at #{ Time.zone.at(@active_stripe_subscription.current_period_end).strftime('%d-%b-%Y %H:%M') }. - else %p You have no subscriptions %p.text-right= link_to 'New Subscription', effective_orders.new_subscription_path
Version data entries
39 entries across 39 versions & 1 rubygems