       loader         : yes
       callback       : @bound 'handleSave'
 
-    @buttons.addSubView @setAsDefaultButton = new KDButtonView
-      title          : 'Set as Default for Team'
-      cssClass       : 'solid compact green nav next hidden'
-      loader         : yes
-      callback       : => @handleSetDefaultTemplate()
-
 
   handleSave: ->
 


  processTemplate: (stackTemplate) ->

    @handleCheckTemplate { stackTemplate }, (err, machines) =>

      @saveButton.hideLoader()

        return

      { groupsController } = kd.singletons
      { stackTemplates }   = groupsController.getCurrentGroup()
      templateSetBefore    = stackTemplates?.length

      if templateSetBefore

        unless stackTemplate.inuse

          @setAsDefaultButton.show()

          @outputView.add """

            Your stack script has been successfully saved.

            If you want your team members to use this template you need to
            apply it for your team.

            You can now close this window or continue working with your stack.
          """

        else
          setToGroup()

      else
        setToGroup 'addAndWarn'


      @cancelButton.setTitle 'Close'


  checkAndBootstrapCredentials: (callback) ->
