       itemClass  : AccountSshKeyListItem
     ,options
     super options,data
-    console.log @getDelegate()
-
-  addNewKey: (controller)->
-    controller.addItem {key: '', title: ''}, 0
-    @items.first.swapSwappable()
 
 class AccountSshKeyForm extends KDFormView
   viewAppended:->

      @deleteItem()

  deleteItem:->
    {controller} = @getDelegate()
    controller.removeItem @
    controller.emit "UpdatedItems"

  saveItem:->
    {controller} = @getDelegate()
    @data =
      key   : @form.keyTextarea.getValue()
      title : @form.titleInput.getValue()
      
    if @data.key and @data.title
      @info.$('span.title').text @data.title
      @info.$('span.key').text "#{@data().key.substr(0,45)} . . . #{@data().key.substr(-25)}"
      @swappable.swapViews()
      controller.emit "UpdatedItems"
    else
      new KDNotificationView
        title : "Key shouldn't be empty."

      iconOnly  : yes
      iconClass : "plus"
      callback  : =>
        @addItem {key: '', title: ''}, 0
        @getListView().items.first.swapSwappable()

class AccountSshKeyList extends KDListView
  constructor:(options,data)->
