               defaultValue            : "subdomain"
               radios                  : domainOptions
               change                  : =>
-                {DomainOption, domainName, domains, regYears, extensionSelect} = @forms["Domain Address"].inputs
+                {DomainOption, domainName, domains, regYears} = @forms["Domain Address"].inputs
                 {checkButton, registerButton} = @forms["Domain Address"].buttons
                 actionState = DomainOption.getValue()
                 domainName.setValue ''

      # partial : "<b>Thank you!</b><br>Your domain #{domainName.getValue()} has been added to our database. Please go to your provider's website and add a CNAME record mapping to kontrol.in.koding.com."

      # change this part when registering is there.
      partial : "<b>Thank you!</b><br>Your subdomain <strong>#{domainName.getValue()}.#{extensionSelect.getValue()}</strong> has been added to our database. You can dismiss this panel and point your new domain to one of your VMs on the settings screen."
      click   : => @reset()



  showSuccess:(domain) ->
    @clearSuggestions()
    form            = @forms["Domain Address"]
    {domainName}    = form.inputs
    {suggestionBox} = form.fields
    {close, createButton, cancel, another} = form.buttons

