 
     @teamName = new kd.InputView
       name         : 'title'
-      cssClass     : 'name'
       defaultValue : Encoder.htmlDecode team.title ? ''
 
     @teamDomain = new kd.InputView

      </div>
    </div>
    <form>
      <fieldset class='half'>
        <label>Team Name</label>
        {{> @teamName}}
      </fieldset>
      <fieldset class='half'>
        <label>Koding URL</label>
        {{> @teamDomain }}
      </fieldset>
      <fieldset>
        {{> @delete}}
        {{> @save}}
      </fieldset>


    team         = @getData()
    dataToUpdate = {}
    title        = @teamName.getValue()
    # newDomains = separateCommas domains

    dataToUpdate.title = title  unless title is team.title

    # unless _.isEqual newDomains, team.allowedDomains
    #   for domain in newDomains when not validator.isURL domain
