     super options, data
 
     { mainController } = kd.singletons
-    teamData           = utils.getTeamData()
-    name               = @getOption 'name'
 
     @header = new MainHeaderView
       cssClass : 'team'

    @correct = new kd.ButtonView
      title      : 'Yes, that\'s the right address'
      style      : 'TeamsModal-button TeamsModal-button--green correct'
      callback   : ->
        go = ->
          utils.storeNewTeamData 'signup', formData
          utils.storeNewTeamData name, yes
          kd.singletons.router.handleRoute '/Join'

        formData          = {}
        { email }         = teamData.invitation
        formData.join     = yes
        formData.username = email
        formData.slug     = kd.config.group.slug

        utils.validateEmail { email },
          success : -> formData.alreadyMember = no; go()
          error   : -> formData.alreadyMember = yes; go()

    @membersDesc = new kd.CustomHTMLView
      tagName: 'span'

    @decorateTeamMembers()

    # temp
    @next()


  next: ->

    teamData = utils.getTeamData()
    name     = @getOption 'name'

    go = ->
      utils.storeNewTeamData 'signup', formData
      utils.storeNewTeamData name, yes
      kd.singletons.router.handleRoute '/Join'

    formData          = {}
    { email }         = teamData.invitation
    formData.join     = yes
    formData.username = email
    formData.slug     = kd.config.group.slug

    utils.validateEmail { email },
      success : ->
        formData.alreadyMember = no
        go()
      error   : ->
        formData.alreadyMember = yes
        go()


  decorateTeamMembers: ->
