       callback : @bound 'createInvitationView'
 
 
+  createMainButtons: ->
+
+    @addSubView new KDButtonView
+      title    : 'CANCEL'
+      cssClass : 'solid medium cancel'
+      callback : => @emit 'InvitationViewCancelled'
+
+    @addSubView new KDButtonView
+      title    : 'INVITE MEMBERS'
+      cssClass : 'solid medium green invite-members'
+      callback : @bound 'inviteMembers'
+
   createInformationView: ->
 
     @addSubView new KDCustomHTMLView

    @addSubView @inputWrapper = new KDCustomHTMLView cssClass: 'input-wrapper'
    @createInvitationView no
    @createAddMoreButton()


  createInvitationView: (cancellable) ->

kd                  = require 'kd'
remote              = require('app/remote').getInstance()
KDView              = kd.View
KDButtonView        = kd.ButtonView
KDCustomHTMLView    = kd.CustomHTMLView
KDNotificationView  = kd.NotificationView
InvitationInputView = require './invitationinputview'


module.exports = class InviteSomeoneView extends KDView
