class GrantsInviteController {

    @GetMapping("/send")
    public String inviteForm(Model model, @PathVariable long projectId, @ModelAttribute("form") GrantsSendInviteForm form) {
        List<PartnerOrganisationResource> organisations = partnerOrganisationRestService.getProjectPartnerOrganisations(projectId).getSuccess();
        model.addAttribute("model", new GrantsInviteSendViewModel(projectRestService.getProjectById(projectId).getSuccess(), organisations));
        return "project/grants-invite/invite";
    }

}