class ProjectPartnerController {

    @GetMapping
    public String inviteProjectPartnerForm(@ModelAttribute(value = "form", binding = false) ProjectPartnerInviteForm form,
                                           BindingResult bindingResult,
                                           @PathVariable long projectId,
                                           Model model) {
        ProjectResource project = projectRestService.getProjectById(projectId).getSuccess();
        model.addAttribute("model", new ProjectPartnerInviteViewModel(project));
        return "project/project-partner-invite";
    }

}