goci-interfaces/goci-curation/src/main/java/uk/ac/ebi/spot/goci/curation/controller/StudyController.java
// Directs user to an empty form to which they can create a new study
Directs user to an empty form to which they can create a new study
Directs user to an empty form to which they can create a new study
@RequestMapping(value = "/new", produces = MediaType.TEXT_HTML_VALUE, method = RequestMethod.GET)
    public String newStudyForm(Model model) {
        model.addAttribute("study", new Study());
        model.addAttribute("pubmedIdForImport", new PubmedIdForImport());
        return "add_study";
    }
@ RequestMapping ( value = "/new" , produces = MediaType . TEXT_HTML_VALUE , method = RequestMethod . GET ) public String newStudyForm ( Model model ) { model . addAttribute ( "study" , new Study ( ) ) ; model . addAttribute ( "pubmedIdForImport" , new PubmedIdForImport ( ) ) ; return "add_study" ; }
Directs user to an empty form to which they can create a new study
Directs user to an empty form to which they can create a new study
// Return an empty pubmedIdForImport object to store user entered pubmed id