           steps           : STEPS.REPO_FLOW
           selected        : 2
         text              : "Github: Select a repository from your account"
-
-        navButton_cancel  :
+        navCancelButton   :
+          title           : '< Select another provider'
           callback        : cancelCallback
-
-      views.repoProvidersView.on 'ItemSelected', (provider) ->
-        data.repo_provider = provider
-        callback data
 
       return container
 

          button     :
            title    : name
            cssClass : provider
            disabled : provider isnt 'aws'
            callback : ->
              container.emit 'ItemSelected', provider

      return container

    repoProvidersView: (options) =>

      {providers} = options

      container = @views.container 'repo-providers'

      providers.forEach (provider) =>

        @addTo container,
          button     :
            title    : 'Select'
            cssClass : provider
            disabled : provider is 'bitbucket'
            callback : ->
              container.emit 'ItemSelected', provider


        text            : "You need to select a provider first"
        providersView   :
          providers     : Object.keys globals.config.providers
          enabled       : ['aws']
        navButton_cancel:
          callback      : cancelCallback

