     @addSubView kiteNameView  = new KDView
       cssClass : "modalformline"
     kiteNameView.addSubView kiteName  = new KDInputView name : "kiteName", placeholder : "Running Kite name..."
+    
+    # @addSubView publicOrPrivate   = new KDView
+    #   cssClass : "modalformline"
+    # publicOrPrivate.addSubView yesNo  = new KDOnOffSwitch {name : "publicPrivate", labels : ['Public', 'Private'] }
+
 
     # @addSubView kiteApiCallLimitView  = new KDView
     #   cssClass : "modalformline"

      overlay   : yes
      cssClass  : "kite-kdmodal"
      width     : 500
      height    : 187
      view      : form
      buttons   :
        "Create New Kite" :

    @emit "KiteUpdated", kite
  
  createKite : (form)-> 
    data = form.getFormData()
    KD.remote.api.JKite.create
      description  : data.description
      kiteName     : data.kiteName
      #count        : data.kiteCallLimit
      #isPublic     : data.publicPrivate 
      (err, kite) => 
        if err
          @notify err.message, "fail"
