 
     super options, data
 
-    @loader     = new KDLoaderView
+    @wrapper.addSubView @loader = new KDLoaderView
       showLoader     : yes
       loaderOptions  :
         shape        : 'spiral'

kd               = require 'kd'
JView            = require 'app/jview'
isKoding         = require 'app/util/isKoding'
showError        = require 'app/util/showError'
KDLoaderView     = kd.LoaderView
PermissionsForm  = require './permissionsform'
KDCustomHTMLView = kd.CustomHTMLView


module.exports = class GroupPermissionsView extends JView

  constructor: (options = {}, data) ->



        return showError err  if err

        @wrapper.addSubView header = new KDCustomHTMLView cssClass : 'header'

        for role in roles when role.title isnt 'owner'
          title = role.title.capitalize()
