<% provide(:title, @subject) %>
<% provide(:photo_url, @student.resolved_photo_url) %>

<% content_for :note do %>
  <p>
    Hello <%= @teacher.name %>,
  </p>

  <p>
    <% if @lesson_booking.is_suspended? %>
      Your weekly lessons with <%= @student.name %> have been suspended because we have tried repeatedly to charge their credit card but the charge was declined. They have been asked to re-enter updated credit card info.
    <% else %>
      We have tried to charge the credit card of <%= @student.name %> but the charge was declined.  They still have time to re-enter their credit card info before the session is suspended, though.
    <% end %>
  </p>
  <p>
    Best Regards,<br>Team JamKazam
  </p>
<% end %>


