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

Last change on this file since 238 was 238, checked in by duh, 14 years ago

Refectored version of the wizard

  • initial template page has been removed, now is a generic 'start' page where one (in the future) may create a new study, or load and modify an already stored study
  • study page incorporates study template select element, but does not yet incorporate the study template fields
  • subjects page now allows creation of subjects based on a template. This change also implied the study page altogether had to change into a seperate table entity. Now the the page lists as many tables as unique templates have been selected. These tables contain all subjects that were added using that particular template. NOTE: data is not stored yet, due to the fact that templateEntity does not work properly yey (key/value pairs need to be set correctly when calling the setTemplate method)
  • the JavaScript? now handles multiple tables in a page as well, and automatically initializes any underlying slider div if that is required
  • Property svn:keywords set to Rev Author Date
File size: 2.4 KB
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: 238 $
13 * $Author: duh $
14 * $Date: 2010-03-05 14:21:52 +0000 (vr, 05 mrt 2010) $
15 */
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>
23        <wizard:templateElement name="template" description="Template" value="${study?.template}" entity="${dbnp.studycapturing.Study}">
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>
45        <span class="info">
46                <span class="title">TODO</span>
47                This page should also contain the template fields of the study template selected above (if available). This is
48                scheduled for implementation in a later version
49        </span>
Note: See TracBrowser for help on using the repository browser.