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


<% if !@user.anonymous? %>
  <p>Hello <%= @vars[EmailBatch::VAR_FIRST_NAME] %> --
  </p>
<% end %>

  <p>
    Your school <%= @school.name %> has set up a JamKazam account for you,
    so that you can participate in an online music education program through your school.
    JamKazam is an application and a platform that lets you play music with other students over the Internet, live and in sync.
    You can also use JamKazam to play and record yourself on your own.
  </p>

<% if @reset_url %>
  <p>
    To use the JamKazam app, you will need to sign in to the app using an email address and a password.
    The email address is the one to which this email was sent.
    Click the button below to set a password for your JamKazam account.
    If you're worried this is a scam, please check with your school or music program instructor to verify that this is a legitimate email.
  </p>

<br>
<p style="text-align:center">
  <a href="<%= @reset_url %>" style="margin:0px 8px 0px 8px;background-color: #ed3618; border: solid 1px #F27861;outline: solid 2px #ed3618;padding:3px 10px;font-size:23px;font-weight:300;cursor:pointer;color:#FC9;text-decoration:none;line-height:12px;text-align:center;">
    Set Password
  </a>
</p>
  <% else %>
  <p>
    We noticed you already have an account at JamKazam, under the email address to which this email was sent.
    Next time you log into the application, your account will have been associated with your school and has a subscription license from your school.
    If you're worried this is a scam, please check with your school or music program instructor to verify that this is a legitimate email.
  </p>

  <% end %>
<br>

    <p>
    Your instructor will help you to start using the JamKazam app in your music program with other students.
      If you already have your gear and want to set it up and start playing around with it,
      you can check out our summary setup instructions
      <a href="https://jamkazam.freshdesk.com/support/solutions/articles/66000259828" style="color:#fc0">https://jamkazam.freshdesk.com/support/solutions/articles/66000259828</a>
        and also learn about the features you can use to create, join, and play in online music sessions
        <a href="https://jamkazam.freshdesk.com/support/solutions/66000073845" style="color:#fc0">https://jamkazam.freshdesk.com/support/solutions/66000073845</a>.
    </p>
<p>
    We hope you enjoy playing music on the JamKazam platform! If you run into trouble, please use this page to ask for help
  <a href="https://jamkazam.freshdesk.com/support/tickets/new" style="color:#fc0">https://jamkazam.freshdesk.com/support/tickets/new</a>.
</p>


<p>Best Regards,<br/>
  Team JamKazam</p>