Sha256: 21e84bed4750feede5c76ec78ddfeda230f036faa0ca1ce0a156299570bf8de4
Contents?: true
Size: 871 Bytes
Versions: 20
Compression:
Stored size: 871 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.'} = ')' - 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
20 entries across 20 versions & 1 rubygems