                 ]
               Kind            :
                 label         : "Kind"
-                itemClass     : KDSelectBox 
+                itemClass     : KDSelectBox
                 type          : "select"
                 name          : "type"
                 defaultValue  : "free"

    #   unless err
    #     log "added",jr,f
    #     jr.type = f.type
    #     itemView = @itemClass delegate:@,jr 
    #     @addItemView itemView
    #     @modal.destroy()
    #   else
    #     log "failed to add.",err

  # deleteDatabase:(listItem)=>
  #   
  #   jr = listItem.getData()
  #   jr.remove (err)=>
  #     if err
  #       log "failed to delete",err
  #     else 
  #       @removeListItem @_listItemToBeUpdated 
  #       @modal.destroy()
  # 
  # updateDatabase:(listItem, formData)=>
  # 
  #   jr = listItem.getData()
  #   jr.title  = f.title  ? jr.title
  #   jr.color  = f.color  ? jr.color
  #   jr.users[0].password = f.password
  #   
  #   jr.update (err)->
  #     unless err
  #       log "updated",jr
  #     else
  #       log "failed to update",err
  #   
  #   @modal.destroy()



      #   defaultValue: data.title if data
      #   nextElement :
      #     Color :
      #       itemClass : KDSelectBox
      #       type        : "select"
      #       name        : "color"
      #       label       : "Color"
