source: trunk/grails-app/views/termEditor/pages/terms.gsp @ 456

Last change on this file since 456 was 456, checked in by vinlud, 11 years ago

Messaging & checks ontology selector

  • Property svn:keywords set to Date Author Rev
File size: 988 bytes
Line 
1<%
2        /**
3         * Term Editor overview template
4         *
5         * @author Jeroen Wesbeek
6         * @since 20100422
7         * @package wizard
8         * @see dbnp.studycapturing.TermEditorController
9         *
10         * Revision information:
11         * $Rev: 456 $
12         * $Author: vinlud $
13         * $Date: 2010-05-25 07:17:18 +0000 (di, 25 mei 2010) $
14         */
15%>
16<%@ page contentType="text/html;charset=UTF-8" %>
17<html>
18 <head>
19  <meta name="layout" content="dialog"/><g:if env="production">
20  <script type="text/javascript" src="${resource(dir: 'js', file: 'ontology-chooser.min.js')}"></script>
21</g:if><g:else>
22  <script type="text/javascript" src="${resource(dir: 'js', file: 'ontology-chooser.js')}"></script>
23</g:else>
24 </head>
25 <body>
26
27 <g:form action="pages" name="wizardForm" id="wizardForm">
28 <g:textField name="term" rel="ontology-${ontologies}" />
29 <g:submitButton name="add" value="Add term" />
30 </g:form>
31
32 ${errors}
33 ${message}
34
35 <script type="text/javascript">
36        $(document).ready(function() {
37        // initialize the ontology chooser
38        new OntologyChooser().init();
39        });
40 </script>
41
42 </body>
43</html>
Note: See TracBrowser for help on using the repository browser.