Changeset 1037 for trunk/grails-app/views
- Timestamp:
- Nov 1, 2010, 5:03:54 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/wizard/pages/_confirmation.gsp
r959 r1037 30 30 You are about to create a study containing ${(study.subjects) ? study.subjects.size() : 0} subjects, 31 31 ${(study.events) ? study.events.size() : 0} events and ${(study.samplingEvents) ? study.samplingEvents.size(): 0} sampling events grouped into 32 ${(study.eventGroups) ? study.eventGroups.size() : 0} event groups and ${(study.samples) ? study.samples.size() : 0} samples. 32 ${(study.eventGroups) ? study.eventGroups.size() : 0} event groups. The study is results in 33 ${(study.samples) ? study.samples.size() : 0} samples analyzed using ${(study.assays) ? study.assays.size() : 0} assays. 33 34 </p> 34 35 </div> … … 38 39 <ul> 39 40 <g:each var="field" in="${study.giveFields()}"> 40 < li>${field.name} - ${study.getFieldValue(field.name)}</li>41 <g:if test="${study.getFieldValue(field.name)}"><li>${field.name} - ${study.getFieldValue(field.name)}</li></g:if> 41 42 </g:each> 42 43 </ul> … … 46 47 <h3><a href="#">Subjects</a></h3> 47 48 <div> 48 <p> 49 ${subjects} 50 </p> 49 <g:each var="subject" in="${study.subjects}"> 50 <p><b>${subject}</b></p> 51 <ul> 52 <g:each var="field" in="${subject.giveFields()}"> 53 <g:if test="${subject.getFieldValue(field.name)}"><li>${field.name} - ${subject.getFieldValue(field.name)}</li></g:if> 54 </g:each> 55 </ul> 56 </g:each> 57 51 58 Not right? Click <wizard:ajaxButton name="toSubjects" value="here" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" class="prevnext" /> to go back to the subjects page and make corrections. 52 59 </div> 53 60 <h3><a href="#">Events</a></h3> 54 61 <div> 55 <p> 56 ${subjects} 57 </p> 58 <ul> 59 <li>List item one</li> 60 <li>List item two</li> 61 <li>List item three</li> 62 </ul> 62 <g:each var="template" in="${study.giveAllEventTemplates()}"> 63 <p><b>${template}</b></p> 64 <ul> 65 <g:each var="event" in="${study.giveEventsForTemplate(template)}"> 66 <li> 67 <i><g:if test="${(event.getClass() == 'SamplingEvent')}">Sampling </g:if>Event</i> 68 <ul> 69 <g:each var="field" in="${event.giveFields()}"> 70 <li>${field} - ${event.getFieldValue(field.name)}</li> 71 </g:each> 72 </ul> 73 </li> 74 </g:each> 75 </ul> 76 </g:each> 77 63 78 Not right? Click <wizard:ajaxButton name="toEvents" value="here" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" class="prevnext" /> to go back to the events page and make corrections. 79 </div> 80 <h3><a href="#">Samples</a></h3> 81 <div> 82 <g:each var="sample" in="${study.samples}"> 83 <p><b>${sample}</b></p> 84 <ul> 85 <g:each var="field" in="${sample.giveFields()}"> 86 <g:if test="${sample.getFieldValue(field.name)}"><li>${field.name} - ${sample.getFieldValue(field.name)}</li></g:if> 87 </g:each> 88 </ul> 89 </g:each> 90 91 Not right? Click <wizard:ajaxButton name="toSamples" value="here" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" class="prevnext" /> to go back to the subjects page and make corrections. 92 </div> 93 <h3><a href="#">Assays</a></h3> 94 <div> 95 <g:each var="sample" in="${study.assays}"> 96 <p><b>${assay}</b></p> 97 <ul> 98 <g:each var="field" in="${assay.giveFields()}"> 99 <g:if test="${assay.getFieldValue(field.name)}"><li>${field.name} - ${assay.getFieldValue(field.name)}</li></g:if> 100 </g:each> 101 </ul> 102 </g:each> 103 104 Not right? Click <wizard:ajaxButton name="toAssays" value="here" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" class="prevnext" /> to go back to the subjects page and make corrections. 64 105 </div> 65 106 </div>
Note: See TracChangeset
for help on using the changeset viewer.