toastr.error('Cannot remove administrator permissions from all Teams. Please add administrator permissions to another team before removing here.');
$('#roles--edit-modal').html("<%= j render("show_modal")%>");
$('.roles--edit-modal').removeClass('hide');
$('.roles--edit-modal').addClass('show');