       @setState errors: resp.errors
     else
       @props.onCancel(@state)
+      
+  onCancel: ->
+    @props.onCancel()
 
   render: ->
     roles = unless _.isEmpty(@props.role_list)

                      (i className: "input__btn-icon fa fa-angle-down")))))))

          (div className: "edit-body__btn-group edit-body__btn-group_right",
            (button type: "button", className: "btn-group__item_left btn_link btn btn-link",     onClick: @props.onCancel, 'Cancel')
            (button type: "button", className: "btn-group__item_right btn_save btn btn-success", onClick: @saveProfile, 'Save')))))


    (span null,
      (div className: 'edit-body__btn-group edit-body__btn-group_in-title',
        (button className: 'btn-group__item_left btn_link btn btn-link', type: 'button', onClick: @onCancel, 'Cancel'))
        
      (div className: "section__body section__body_edit",
        (div className: "edit-body",
