                 label         : "Subject:"
                 placeholder   : 'Enter a subject'
                 name          : "subject"
-              Message         :
+              message         :
                 label         : "Message:"
                 type          : "textarea"
                 name          : "body"

    KD.remote.api.JAccount.byRelevance inputValue,{blacklist},(err,accounts)->
      callback accounts

  createNewMessageModal:(to)->
    modal = new KDModalViewWithForms
      title                   : "Compose a message"
      content                 : ""


    toField.addSubView recipient.getView()
    toField.addSubView recipientsWrapper
    if users
      recipient.setDefaultValue users
      
      if users.length is 1
        toField.hide()

        toName = KD.utils.getFullnameFromAccount users.first
        myName = KD.utils.getFullnameFromAccount()

        subject.setValue "Private message from #{myName}"
        modal.setTitle "#{modal.getOption('title')} to <b>#{toName}</b>"

      message.$().focus()
    else
      recipient.getView().$input().focus()

  loadView:(mainView)->
    mainView.createCommons()
