 
           return
 
+        @_credentials = credentials
+
         @createEditorPane stackTemplate?.template?.content or defaultTemplate
-        @createCredentialsBox credentials
+        @createCredentialsBox()
 
         @addSubView @saveButton = new kd.ButtonView
           title    : 'Set as default stack'

    @editorPane.setCss background: 'black'


  createCredentialsBox: (credentials) ->

    creds = ({title: c.title, value: c.publicKey} for c in credentials)

    @addSubView new kd.LabelView
      title: "Select credential to use:"


    super options, data

    @_credentials = {}


  createEditorPane: (content) ->

