<% provide(:title, @subject) %>

<p>
  Hello <%= @name %>,
</p>

  <% if @distribution.is_test_drive? %>
  <p>We have processed a payment to you via your Stripe account for $<%= @distribution.real_distribution_display %> for this lesson.</p>
  <% elsif @distribution.is_normal? %>
  <p>We have processed a payment to you via your Stripe account for $<%= @distribution.real_distribution_display %> for this lesson.</p>
  <% elsif @distribution.is_monthly? %>
  <p>We have processed a payment to you via your Stripe account for $<%= @distribution.real_distribution_display %> for <%= @distribution.month_name %> lessons.</p>
  <% else %>
    Unknown payment type.
    <% end %>
  <br/>
  <br/>

Best Regards,<br/>
JamKazam