       __view = controller.getView()
       return { __view, controller }
 
+    # STEPS --------------------------------------------------------------------
 
     stepSelectRepo: (options) =>
 

                  callback stackTemplate

      return container


    providersView: (options) =>

      {providers, enabled} = options
      enabled  ?= providers

      container = @views.container 'providers'

      providers.forEach (provider) =>

        return  if provider in ['custom', 'managed']

        name = globals.config.providers[provider]?.name or provider

        @addTo container,
          button     :
            title    : name
            cssClass : provider
            disabled : provider not in enabled
            callback : ->
              container.emit 'ItemSelected', provider

      return container


    stepsHeader: (options) =>

      { title, index, selected } = options

      container = @views.container "#{if selected then 'selected' else ''}"

      @addTo container,
        text_step  : index
        text_title : title

      return container


    stepsHeaderView: (options) =>

      { steps, selected } = options

      container = @views.container 'steps-view'

      @addTo container, view :
        cssClass : 'vline'
        tagName  : 'cite'

      steps = steps.slice 0
      steps.forEach (step, index) =>

        step.index    = index + 1
        step.selected = selected? and selected is step.index

        @addTo container, stepsHeader: step

      return container

        callback data

      return container


    stepSetupCredentials: (options) =>
