           title    : 'Failed to send some invites, please try again.'
           duration : 5000
 
-      for view in @inputViews by -1
-        if view.getOptions().cancellable then view.destroy()
-        else
-          input.setValue ''  for input in view.inputs
+      view.destroy()  for view in @inputViews by -1
+
+      @createInitialInputs()
 
       new KDNotificationView
         title    : 'All invites sent.'


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


  createInvitationView: (cancellable) ->

    view = new InvitationInputView { cancellable }

    view.once 'KDObjectWillBeDestroyed', =>
      @inputViews.splice @inputViews.indexOf(view), 1

    @inputWrapper.addSubView view
    view.email.setFocus()
    @inputViews.push view


  createAddMoreButton: ->

    @scrollView.wrapper.addSubView new KDButtonView
      cssClass : 'compact solid add-more'
      title    : 'ADD INVITATION'
      callback : @bound 'createInvitationView'


  createMainButtons: ->

    @scrollView.wrapper.addSubView new KDCustomHTMLView
      cssClass : 'information'
      partial  : """
        <p>Invite other teammates to your team. You can change admin rights for your teammates in the Members tab once they accept your invitation.</p>
        <label>Email</label><label>First Name</label><label>Last Name<span>Admin</span></label>
        """
