root/trunk/grails-app/views/studyWizard/pages/_study.gsp @ 1775

Revision 1775, 1.8 KB (checked in by work@…, 3 years ago)

- resolves #400, study should contain at least one contact

  • Property svn:keywords set to Rev Author Date
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$
13 * $Author$
14 * $Date$
15 */
16%>
17<af:page>
18        <span class="info">
19                <span class="title">Define the basic properties of your study</span>
20                In this step of the step-by-step study capturing tool all the basic information of a study can be filled out.
21                Keep in mind that the more and the more specific the information that is filled out, the more valuable the system will be.
22                Only the fields with an asterisks are obligatory. Pick the study template of choice (currently a fixed set) and define your study values.
23        </span>
24
25        <af:templateElement name="template" description="Template" value="${study?.template}" entity="${dbnp.studycapturing.Study}" addDummy="true" ajaxOnChange="switchTemplate" afterSuccess="onPage()" required="true" >
26                Choose the type of study you would like to create.
27                Depending on the chosen template specific fields can be filled out. If none of the templates contain all the necessary fields, a new template can be defined (based on other templates).
28        </af:templateElement>
29        <g:if test="${study}">
30                <af:templateElements entity="${study}"/>
31                <af:publicationSelectElement name="publication" value="${study?.publications}"/>
32                <af:contactSelectElement name="contacts" value="${study?.persons}" />
33                <br/>
34                <div class="element">
35                        <div class="description">Public</div>
36                        <div class="input"><g:checkBox name="publicstudy" value="${study?.publicstudy}"/></div>
37                </div>
38
39                <af:userSelectElement name="readers" description="Readers" value="${study?.readers}"/>
40                <af:userSelectElement name="writers" description="Writers" value="${study?.writers}"/>
41        </g:if>
42</af:page>
Note: See TracBrowser for help on using the browser.