           name              : "visibility"
           defaultValue      : "hidden"
           selectOptions     : [
-            { title : "Hidden",    value : "hidden"  }
-            { title : "Visible",   value : "visible" }
+            title : "Hidden" ,   value : "hidden"
+            title : "Visible",   value : "visible"
           ]
 
   createGroup: ->

        Slug                :
          label             : "Address"
          itemClass         : KDCustomHTMLView
          partial           : "#{location.protocol}//#{location.host}/"
        Visibility          :
          itemClass         : KDSelectBox
          label             : "Visibility"

    JGroup.create options, (err, group, subscription) =>
      return KD.showError err  if err

      @groupForm.destroy()
      @showGroupCreated group, subscription

      # enter first post of group.
      JGroup.createGroupBotAndPostMessage
        title   : "Welcome"
        body    : "Welcome to your group."
        botname : "groupbot"
      , (err) ->
        KD.showError err

  checkSlug: ->
    slug      = @groupForm.inputs.GroupUrl
