source: trunk/grails-app/views/wizard/pages/_confirmation.gsp @ 509

Last change on this file since 509 was 509, checked in by duh, 11 years ago
  • wizard saving initial version
  • removed main transaction as it resulted in continuous errors and exceptions...
  • Property svn:keywords set to Date Author Rev
File size: 2.3 KB
Line 
1<%
2/**
3 * Confirmation page
4 *
5 * @author  Jeroen Wesbeek
6 * @since   20100225
7 * @package wizard
8 * @see     dbnp.studycapturing.WizardTagLib::previousNext
9 * @see     dbnp.studycapturing.WizardController
10 *
11 * Revision information:
12 * $Rev: 509 $
13 * $Author: duh $
14 * $Date: 2010-06-02 14:22:42 +0000 (wo, 02 jun 2010) $
15 */
16%>
17<wizard:pageContent>
18<span class="info">
19        <span class="title">You are almost there...</span>
20        You are almost done creating your study. Below you will find a summary of the study you have just defined.
21        If everything
22        is well, click 'next' to permanently save the study you have created, or click 'previous' if you need to modify parts
23        of your study.
24</span>
25
26<div id="accordion">
27        <h3><a href="#">General overview</a></h3>
28        <div>
29                <p>
30                You are about to create a study containing ${subjects.size()} subjects,
31                ${events.size()} events grouped into ${eventGroups.size()} event groups.
32                </p>
33        </div>
34        <h3><a href="#">Study</a></h3>
35        <div>
36                <p>
37                  <ul>
38                <g:each var="field" in="${study.giveFields()}">
39                        <li>${field.name} - ${study.getFieldValue(field.name)}</li>
40                </g:each>
41                  </ul>
42                </p>
43                Not right? Click <wizard:ajaxButton name="toStudy" value="here" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" class="prevnext" /> to go back to the study page and make corrections.
44        </div>
45        <h3><a href="#">Subjects</a></h3>
46        <div>
47                <p>
48                ${subjects}
49                </p>
50                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.
51        </div>
52        <h3><a href="#">Events</a></h3>
53        <div>
54                <p>
55                ${subjects}
56                </p>
57                <ul>
58                        <li>List item one</li>
59                        <li>List item two</li>
60                        <li>List item three</li>
61                </ul>
62                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.
63        </div>
64</div>
65
66<g:if env="development">
67<span class="info">
68        <span class="todo">TODO</span>
69        <ul>
70                <li>this page is not complete yet, finish it to summerize the study you are about to store in the database</li>
71        </ul>
72</span>
73</g:if>
74
75</wizard:pageContent>
Note: See TracBrowser for help on using the repository browser.