source: trunk/grails-app/views/publication/add.gsp @ 479

Last change on this file since 479 was 479, checked in by roberth, 12 years ago

Created an interface to PubMed? for searching publications. This is intended to be used in the study creation wizard. See publication/add method

File size: 1.1 KB
Line 
1
2<%@ page import="dbnp.studycapturing.Publication" %>
3<%
4    /**
5     * Form to add publications based on PubMed articles
6     *
7     * @author Robert Horlings
8     * @since 20100526
9     * @see dbnp.studycapturing.PublicationController
10     *
11     * Revision information:
12     * $Rev$
13     * $Author$
14     * $Date$
15     */
16%>
17<%@ page contentType="text/html;charset=UTF-8" %>
18<html>
19 <head>
20  <meta name="layout" content="dialog"/>
21  <script type="text/javascript" src="${resource(dir: 'js', file: 'publication-chooser.js')}"></script>
22  <script type="text/javascript" src="${resource(dir: 'js', file: 'publication-chooser.pubmed.js')}"></script>
23
24 </head>
25 <body>
26
27 <g:form action="createFromPubmed">
28  <g:textField name="publication" rel="publication-pubmed" />
29  <g:submitButton name="add" value="Add publication" />
30 </g:form>
31 
32 ${errors}
33 ${message}
34
35 <script type="text/javascript">
36        $(document).ready(function() {
37          // initialize the ontology chooser
38          var chooser = new PublicationChooser();
39
40          chooser.init();
41        });
42 </script>
43 </body>
44</html>
Note: See TracBrowser for help on using the repository browser.