   fetchClassByCode: (classCode) ->
     if not classCode
       return Promise.resolve()
-      
+
     new Promise((resolve, reject) ->
       new Classroom().fetchByCode(classCode, {
         success: resolve

            reject(jqxhr.responseJSON)
      })
    )
  

      @renderSelectors('.render')
      @trigger 'special-render'
    )

  getClassCode: -> @$('.class-code-input').val() or @signupState.get('classCode')

  onInputClassCode: ->
    @classroom = new Classroom()
