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

Last change on this file since 1325 was 1325, checked in by robert@…, 10 years ago

Resolved bug in searching publications due to wizard refactoring. See #212

  • Property svn:keywords set to Author Date Rev
File size: 1.5 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: 1325 $
13     * $Author: robert@isdat.nl $
14     * $Date: 2010-12-24 11:53:23 +0000 (vr, 24 dec 2010) $
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  <script type="text/javascript" src="${resource(dir: 'js', file: 'publication-chooser.programminglanguages.js')}"></script>
24  <script type="text/javascript">
25    PublicationChooser.prototype.availableDBs[ "pubmed" ].select = selectPubMedAdd;
26    PublicationChooser.prototype.availableDBs[ "pubmed" ].close  = closePubMedAdd;
27</script>
28 </head>
29 <body>
30   <p>
31     Search for a publication on pubmed. You can search on a part of the title or authors or type in a Pubmed ID.
32   </p>
33   <g:form action="createFromPubmed">
34    <g:textField name="publication" rel="publication-pubmed" style="width:500px;"/>
35    <!-- <g:submitButton name="add" value="Add publication" /> -->
36   </g:form>
37
38 ${errors}
39 ${message}
40
41 <script type="text/javascript">
42$(document).ready(function() {
43  // initialize the ontology chooser
44  PublicationChooser.init();
45});
46 </script>
47 </body>
48</html>
Note: See TracBrowser for help on using the repository browser.