       buttons               :
         createButton        :
           name              : "createButton"
-          title             : options.buttonTitle or "Check availability..."
+          title             : options.buttonTitle or "Check availability"
           style             : "cupid-green"
           cssClass          : "add-domain"
           type              : "submit"

    {createButton}        = @subDomainEntryForm.buttons
    domainName            = domainName.getValue()

    # Test given subdomain
    unless subDomainPattern.test domainName
      createButton.hideLoader()
      return notifyUser "#{domainName} is an invalid subdomain."

  subDomainPattern = \
    /^([a-z0-9]([_\-](?![_\-])|[a-z0-9]){0,60}[a-z0-9]|[a-z0-9])$/

  domainOptions = [
    { title : "Create A Subdomain",     value : "subdomain" }
    { title : "Register New Domain",    value : "new"}
    { title : "Use An Existing Domain", value : "existing", disabled : yes }
  ]

  constructor:(options = {}, data)->
    options.cssClass = "environments-add-domain-form"
    super options, data

    @addSubView @header = new KDHeaderView
      title             : "Add a domain"

