source: trunk/grails-app/views/wizard/pages/_study.gsp @ 262

Last change on this file since 262 was 262, checked in by duh, 14 years ago
  • some bug fixes, improvements and comments
  • Property svn:keywords set to Author Rev Date
File size: 2.5 KB
Line 
1<%
2/**
3 * Study page
4 *
5 * @author  Jeroen Wesbeek
6 * @since   20100113
7 * @package wizard
8 * @see     dbnp.studycapturing.WizardTagLib::previousNext
9 * @see     dbnp.studycapturing.WizardController
10 *
11 * Revision information:
12 * $Rev: 262 $
13 * $Author: duh $
14 * $Date: 2010-03-12 16:42:19 +0000 (vr, 12 mrt 2010) $
15 */
16%>
17<wizard:pageContent>
18        <span class="info">
19                <span class="title">Define the basic properties of your study</span>
20                Pick the study template of choice (currently a fixed set) and define your study values. In this prototype the
21                templated fields (below the 'note' box) are not yet handled so you can leave them empty for now.
22        </span>
23       
24        <wizard:templateElement name="template" description="Template" value="${study?.template}" entity="${dbnp.studycapturing.Study}" addDummy="true" ajaxOnChange="switchTemplate" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" >
25                The template to use for this study
26        </wizard:templateElement>
27        <wizard:textFieldElement name="title" description="Title" error="title" value="${study?.title}">
28                The title of the study you are creating
29        </wizard:textFieldElement>
30        <wizard:textFieldElement name="code" description="Code" error="code" value="${study?.code}">
31                A code to reference your study by
32        </wizard:textFieldElement>
33        <wizard:textFieldElement name="researchQuestion" description="Research Question" error="researchQuestion" value="${study?.researchQuestion}">
34                The research question
35        </wizard:textFieldElement>
36        <wizard:textFieldElement name="description" description="Description" error="description" value="${study?.description}">
37                A short description summarizing your study
38        </wizard:textFieldElement>
39        <wizard:textFieldElement name="ecCode" description="Ethical Committee Code" error="ecCode" value="${study?.ecCode}">
40                [youtube:irvC_1ujhKo]
41        </wizard:textFieldElement>
42        <wizard:dateElement name="startDate" description="Start date" error="startDate" value="${study?.startDate}">
43                The start date of the study
44        </wizard:dateElement>
45
46        <span class="info">
47                <span class="todo">TODO</span>
48                Below you will see the template fields of the study template selected above. These fields are not yet
49                properly handled so you can ignore them for now... To be completed at a later stage
50        </span>
51       
52        <wizard:templateElements entity="${study}" />
53
54        <span class="info">
55                <span class="known">Known issues</span>
56                <ul>
57                        <li>the templated fields appear in random order</li>
58                        <li>the templated fields are not yet handled / stored</li>
59                </ul>
60        </span>
61
62</wizard:pageContent>
Note: See TracBrowser for help on using the repository browser.