@@ -4,6 +4,12 @@
 <div class="text-box-wrapper">
   <div class="text-box">
     <p>Thank you for purchasing <%= @purchaseable.name %>.</p>
+
+    <% if subscription = current_user.subscription and !subscription.active? %>
+      <p>It appears you stopped subscribing to <%= @purchaseable.name %> on
+      <%= l subscription.deactivated_on, format: :long %>. If you would like
+      to resubscribe, please <%= mail_to 'learn@thoughtbot.com', 'contact us' %>.</p>
+    <% end %>
   </div>
 </div>
 
<% content_for :subject, @purchaseable.name %>
<%= adwords_conversion_tracker %>

<div class="text-box-wrapper">
  <div class="text-box">
    <p>Thank you for purchasing <%= @purchaseable.name %>.</p>
  </div>
</div>

<%= render 'subscriptions/aside', purchaseable: @purchaseable, purchase: @purchase %>

What do you think about extracting this conditional into a method?