           name        : "password"
           placeholder : "password..."
           defaultValue: data.password if data
-      port :
-        label : new KDLabelView
-          title : "Port number:"
-        input : new KDInputView
-          name        : "port"
-          placeholder : "port..."
-          defaultValue: data.port if data
-
-      accessKey :
-        label : new KDLabelView
-          title : "Access Key:"
-        input : new KDInputView
-          name        : "accessKey"
-          placeholder : "AWS access key..."
-          defaultValue: data.accessKey if data
-
-      secret :
-        label : new KDLabelView
-          title : "Secret Key:"
-        input : new KDInputView
-          type        : "password"
-          name        : "secret"
-          placeholder : "AWS Secret"
-          defaultValue: data.secret if data
+
+      # port :
+      #   label : new KDLabelView
+      #     title : "Port number:"
+      #   input : new KDInputView
+      #     name        : "port"
+      #     placeholder : "port..."
+      #     defaultValue: data.port if data
+
+      # accessKey :
+      #   label : new KDLabelView
+      #     title : "Access Key:"
+      #   input : new KDInputView
+      #     name        : "accessKey"
+      #     placeholder : "AWS access key..."
+      #     defaultValue: data.accessKey if data
+
+      # secret :
+      #   label : new KDLabelView
+      #     title : "Secret Key:"
+      #   input : new KDInputView
+      #     type        : "password"
+      #     name        : "secret"
+      #     placeholder : "AWS Secret"
+      #     defaultValue: data.secret if data
 
     createForm = (items)=>
 

      return {form,lines}


    {form,lines} = createForm ["type","title","hostname","username","password","port","accessKey","secret"]
    lines.accessKey.hide()
    lines.secret.hide()
    modal.addSubView form
    # modal.setHeight 450


  #     </div>
  #     <a href='#' class='action-link'>Edit</a>
  #   """
