class InviteAssessorsController extends CompetitionManagementCookieController<AssessorSelectionForm> {

    @PostMapping(value = "/invite", params = {"removeNewUser"})
    public String removeNewUserFromInviteView(Model model,
                                              @PathVariable("competitionId") long competitionId,
                                              @ModelAttribute(FORM_ATTR_NAME) InviteNewAssessorsForm form,
                                              @RequestParam(name = "removeNewUser") int position,
                                              @RequestParam(defaultValue = "0") int page) {
        form.getInvites().remove(position);
        form.setVisible(true);

        return invite(model, competitionId, form, page);
    }

}