 
     @settingsForm = new KDFormViewWithFields formOptions, group
 
-    
     unless KD.config.roles? and 'owner' in KD.config.roles
       @settingsForm.buttons.Remove.hide()
 

          defaultValue      : Encoder.htmlDecode group.body ? ""
          placeholder       : 'Please enter a description here.'
          autogrow          : yes
        Readme              :
          label             : "Readme"
          name              : "readme"
          itemClass         : GroupReadmeView
          defaultValue      : Encoder.htmlDecode group.readme ? ""
          data              : group
        "Privacy settings"  :
          itemClass         : KDSelectBox
          label             : "Privacy"


    formOptions =
      callback:(formData)=>
        saveButton = @settingsForm.buttons.Save
        appManager = KD.getSingleton('appManager')

        # fix me:  make this a single call
        group.modify formData, (err)=>
          if err
            saveButton.hideLoader()
            return new KDNotificationView { title: err.message, duration: 1000 }

          new KDNotificationView
            title: 'Group was updated!'
            duration: 1000

          delegate.emit "groupSettingsUpdated", group

      buttons:
        Save                :
