       data: {parentEmail}
     })
     return new Promise(jqxhr.then)
-  
+
   sendParentTeacherSignup: ({teacherEmail, parentEmail, parentName, customContent}) ->
     jqxhr = $.ajax('/contact/send-parent-refer-teacher', {
       method: 'POST'

  sendContactMessage: (contactMessageObject, modal) ->
    # deprecated
    modal?.find('.sending-indicator').show()
    return $.post '/contact', contactMessageObject, (response) ->
      return unless modal
      modal.find('.sending-indicator').hide()
      modal.find('#contact-message').val('Thanks!')

      data: {teacherEmail, sessionId, levelName, codeLanguage: _.string.titleize(codeLanguage).replace('script', 'Script')}
    })
    return new Promise(jqxhr.then)
