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

<% if @attempt == 0 %>
    <p style="margin-top:0px"><font size="3" color="#AAAAAA" face="Arial, Helvetica, sans-serif">
      Welcome to JamKazam, and congratulations on your free private music lessons, courtesy of Amazon! Here is a great instructor we can recommend to you:
    </font></p>

    <br>

    <table>
      <tr>
        <td width="58" align="left" valign="top">
          <p style="padding:2px;width:54px;height:54px;background-color:#ed3618;-webkit-border-radius:28px;-moz-border-radius:28px;border-radius:28px;margin-right:10px">
            <img src="<%= @teacher.resolved_photo_url %>" width="54" height="54" style="-webkit-border-radius:26px;-moz-border-radius:26px;border-radius:26px;">
          </p><font size="3" color="#AAAAAA" face="Arial, Helvetica, sans-serif"><%= @teacher.name %></font></td>
        <td><p><font size="3" color="#AAAAAA" face="Arial, Helvetica, sans-serif"><%= @biography %></font></p>
        </td>
      </tr>
    </table>

    <p style="text-align:center"><font size="3" color="#AAAAAA" face="Arial, Helvetica, sans-serif"><a href="<%= @book_lesson_link %>"style="margin: 8px 0 0 0;background-color: #ed3618;border: solid 1px #F27861;padding: 3px 10px;font-size: 12px;font-weight: 300;cursor: pointer;color: #FC9;text-decoration: none;line-height: 12px;text-align: center;">SCHEDULE FIRST FREE LESSON NOW</a></font></p>
    <br>
    <p><font size="3" color="#AAAAAA" face="Arial, Helvetica, sans-serif">Click the button to schedule your first free lesson with the instructor listed above! Or if you think you'd prefer a different instructor, <a style="color: #ffcc00;"  href="<%= User.search_url %>">click here</a> to search our guitar and bass instructors to select a different one.</font></p>
    <p><font size="3" color="#AAAAAA" face="Arial, Helvetica, sans-serif">To take online lessons, you'll need:</font></p>
    <font size="3" color="#AAAAAA" face="Arial, Helvetica, sans-serif">
    <ul>
      <li><font size="3" color="#AAAAAA" face="Arial, Helvetica, sans-serif">A Windows or Mac computer</font></li>
      <li><font size="3" color="#AAAAAA" face="Arial, Helvetica, sans-serif">A webcam, a microphone, and a port to connect headphones or earbuds (all three are usually built into your computer)</font></li>
      <li><font size="3" color="#AAAAAA" face="Arial, Helvetica, sans-serif">Internet service at your home</font></li>
    </ul>
      </font>
    <p><font size="3" color="#AAAAAA" face="Arial, Helvetica, sans-serif">Schedule your first free lesson now to get started. And if you have any questions, don't hesitate to contact us by email at <a href="mailto:support@jamkazam.com" style="color: #ffcc00;">support@jamkazam.com</a>. We are here to make your musical journey a rewarding one!</font></p>



<% elsif @attempt == 1 %>
  <p style="margin-top:0px"><font size="3" color="#AAAAAA" face="Arial, Helvetica, sans-serif">
    Just a quick reminder - don't forget to schedule your first free lesson! Here is another great instructor we can recommend to you:
  </font></p>

  <br>

  <table>
    <tr>
      <td width="58" align="left" valign="top">
        <p style="padding:2px;width:54px;height:54px;background-color:#ed3618;-webkit-border-radius:28px;-moz-border-radius:28px;border-radius:28px;margin-right:10px">
          <img src="<%= @teacher.resolved_photo_url %>" width="54" height="54" style="-webkit-border-radius:26px;-moz-border-radius:26px;border-radius:26px;">
        </p><font size="3" color="#AAAAAA" face="Arial, Helvetica, sans-serif"><%= @teacher.name %></font></td>
      <td><p><font size="3" color="#AAAAAA" face="Arial, Helvetica, sans-serif"><%= @biography %></font></p>
      </td>
    </tr>
  </table>

  <p style="text-align:center"><font size="3" color="#AAAAAA" face="Arial, Helvetica, sans-serif"><a href="<%= @book_lesson_link %>"style="margin: 8px 0 0 0;background-color: #ed3618;border: solid 1px #F27861;padding: 3px 10px;font-size: 12px;font-weight: 300;cursor: pointer;color: #FC9;text-decoration: none;line-height: 12px;text-align: center;">SCHEDULE FIRST FREE LESSON NOW</a></font></p>
  <br>
  <p><font size="3" color="#AAAAAA" face="Arial, Helvetica, sans-serif">Click the button to schedule your first free lesson with the instructor listed above! Or if you think you'd prefer a different instructor, <a style="color: #ffcc00;"  href="<%= User.search_url %>">click here</a> to search our guitar and bass instructors to select a different one.</font></p>

  <p><font size="3" color="#AAAAAA" face="Arial, Helvetica, sans-serif">If you have any questions, don't hesitate to contact us by email at <a href="mailto:support@jamkazam.com" style="color: #ffcc00;">support@jamkazam.com</a>.</font></p>

<% else %>
  <p style="margin-top:0px"><font size="3" color="#AAAAAA" face="Arial, Helvetica, sans-serif">
    We don't want to bother you, so just sending one more reminder. A private instructor is by far the best way to learn a new instrument. Here is another great instructor we can recommend to you:
  </font></p>

  <br>

  <table>
    <tr>
      <td width="58" align="left" valign="top">
        <p style="padding:2px;width:54px;height:54px;background-color:#ed3618;-webkit-border-radius:28px;-moz-border-radius:28px;border-radius:28px;margin-right:10px">
          <img src="<%= @teacher.resolved_photo_url %>" width="54" height="54" style="-webkit-border-radius:26px;-moz-border-radius:26px;border-radius:26px;">
        </p><font size="3" color="#AAAAAA" face="Arial, Helvetica, sans-serif"><%= @teacher.name %></font></td>
      <td><p><font size="3" color="#AAAAAA" face="Arial, Helvetica, sans-serif"><%= @biography %></font></p>
      </td>
    </tr>
  </table>

  <p style="text-align:center"><font size="3" color="#AAAAAA" face="Arial, Helvetica, sans-serif"><a href="<%= @book_lesson_link %>"style="margin: 8px 0 0 0;background-color: #ed3618;border: solid 1px #F27861;padding: 3px 10px;font-size: 12px;font-weight: 300;cursor: pointer;color: #FC9;text-decoration: none;line-height: 12px;text-align: center;">SCHEDULE FIRST FREE LESSON NOW</a></font></p>
  <br>
  <p><font size="3" color="#AAAAAA" face="Arial, Helvetica, sans-serif">Click the button to schedule your first free lesson with the instructor listed above! Or if you think you'd prefer a different instructor, <a style="color: #ffcc00;"  href="<%= User.search_url %>">click here</a> to search our guitar and bass instructors to select a different one.</font></p>

  <p><font size="3" color="#AAAAAA" face="Arial, Helvetica, sans-serif">If you have any questions, don't hesitate to contact us by email at <a href="mailto:support@jamkazam.com" style="color: #ffcc00;">support@jamkazam.com</a>.</font></p>

<% end %>


<p>
  <font size="3" color="#AAAAAA" face="Arial, Helvetica, sans-serif">
    Best Regards,<br/>
    Team JamKazam
  </font>
</p>