       tabs                    :
         navigateable          : yes
         goToNextFormOnSubmit  : no
-        callback              : (formOutput)-> log formOutput
+        # callback              : (formOutput)-> log formOutput
         forms                 :
           "On Koding"         :
-            callback          : => @emit "addDatabase"
+            callback          : => @emit "AddDatabaseSubmitted"
             buttons           :
               Create          :
                 title         : "Create"

    , (err, response)=>
      if err then warn err
      else
        # log response, "<<<< db list"
        response.map (item)->
          item.type   = "mysql"
          item.color  = "yellow"
          item.title  = "MySql DB"
          item.dbHost = "mysql0.db.koding.com"

        @instantiateListItems response
        callback?()


  notify:(title, type)->
    
    {modal} = @getListView()
    new KDNotificationView
      type      : "mini"
      cssClass  : "#{type}"
      title     : "<p>#{title}</p>"
      container : modal if type is "error"

class AccountDatabaseList extends KDListView

