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

Last change on this file since 246 was 246, checked in by duh, 14 years ago
  • increased session lifetime to 7 days
  • improved wizard study template selector
  • wizard study page now contains study template fields (which are not yet handled)
  • added protocol selector to event descriptions page
  • renamed the 'blood sampling' protocol to 'Blood sampling' (it was duplicately named 'Liver sampling')
  • Property svn:keywords set to Rev Author Date
File size: 2.6 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: 246 $
13 * $Author: duh $
14 * $Date: 2010-03-08 17:25:07 +0000 (ma, 08 mrt 2010) $
15 */
16%>
17<wizard:pageContent>
18        <span class="info">
19                <span class="title">Define the basic properties of your study</span>
20                Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce laoreet leo nec leo vehicula quis scelerisque elit pulvinar. Vivamus arcu dui, adipiscing eu vestibulum id, consectetur et erat. Aenean risus mauris, placerat et lacinia vulputate, commodo eget ligula. Pellentesque ornare blandit metus ac dictum. Donec scelerisque feugiat quam, a congue ipsum malesuada nec. Donec vulputate, diam eget porta rhoncus, est mauris ullamcorper turpis, vitae dictum risus justo quis justo. Aenean blandit feugiat accumsan. Donec porttitor bibendum elementum.
21        </span>
22       
23        <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()" >
24                The template to use for this study
25        </wizard:templateElement>
26        <wizard:textFieldElement name="title" description="Title" error="title" value="${study?.title}">
27                The title of the study you are creating
28        </wizard:textFieldElement>
29        <wizard:textFieldElement name="code" description="Code" error="code" value="${study?.code}">
30                A code to reference your study by
31        </wizard:textFieldElement>
32        <wizard:textFieldElement name="researchQuestion" description="Research Question" error="researchQuestion" value="${study?.researchQuestion}">
33                The research question
34        </wizard:textFieldElement>
35        <wizard:textFieldElement name="description" description="Description" error="description" value="${study?.description}">
36                A short description summarizing your study
37        </wizard:textFieldElement>
38        <wizard:textFieldElement name="ecCode" description="Ethical Committee Code" error="ecCode" value="${study?.ecCode}">
39                [youtube:irvC_1ujhKo]
40        </wizard:textFieldElement>
41        <wizard:dateElement name="startDate" description="Start date" error="startDate" value="${study?.startDate}">
42                The start date of the study     
43        </wizard:dateElement>
44
45        <span class="info">
46                <span class="title">TODO</span>
47                Below you will see the template fields of the study template selected above. These fields are not yet
48                properly handled so you can ignore them for now... To be completed at a later stage
49        </span>
50       
51        <wizard:templateElements entity="${study}" />
52
53</wizard:pageContent>
Note: See TracBrowser for help on using the repository browser.