 
   showGroupSubmissionView:->
 
-    verifySlug = ()->
+    verifySlug = ->
       slugInput = modal.modalTabs.forms["General Settings"].inputs.Slug
       KD.remote.api.JName.one
         name: slugInput.getValue()

        else
          slugInput.unsetClass 'slug-taken'

    makeSlug = ()=>
      titleInput = modal.modalTabs.forms["General Settings"].inputs.Title
      slugInput = modal.modalTabs.forms["General Settings"].inputs.Slug
      KD.remote.api.JGroup.suggestUniqueSlug titleInput.getValue(), (err, newSlug)->
        slugInput.setValue newSlug

    getGroupType = ->
      modal.modalTabs.forms["Select group type"].inputs.type.getValue()

              #   defaultValue         : no

    modal = new KDModalViewWithForms modalOptions
    form = modal.modalTabs.forms["General Settings"]
    form.on "FormValidationFailed", ->
      form.buttons.Save.hideLoader()

  handleError =(err, buttons)->
    unless buttons
