Ignore:
Timestamp:
Mar 9, 2010, 4:29:53 PM (9 years ago)
Author:
duh
Message:
  • wizard confirmation page developmental commit
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/wizard/pages/_confirmation.gsp

    r247 r252  
    2828        <div>
    2929                <p>
    30                 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. Phasellus in consequat lectus. Phasellus in ante diam. Proin ut ligula et nisi ornare mattis. Nulla aliquam purus quis mauris condimentum ultrices. Nam porta elit ut arcu viverra eget gravida purus imperdiet. Vestibulum non leo ac nisl tincidunt aliquam. Vestibulum at tortor in augue mattis convallis. Morbi viverra scelerisque eleifend. Quisque ac erat nisi. Nulla pharetra, magna eget pretium tincidunt, eros elit semper sem, eget pellentesque lectus nunc vitae leo. Quisque sit amet massa enim. Vivamus tellus augue, commodo eu adipiscing nec, suscipit et tellus.
     30                You are about to create a study containing ${subjects.size()} subjects,
     31                ${eventDescriptions.size()} event descriptions and ${events.size()} events grouped into
     32                ${eventGroups.size()} event groups.
    3133                </p>
     34        </div>
     35        <h3><a href="#">Study</a></h3>
     36        <div>
     37                <p>
     38                  <ul>
     39                <li>title: ${study?.title}</li>
     40                <li>description: ${study?.description}</li>
     41                <li>research question: ${study?.researchQuestion}</li>
     42                <li>code: ${study?.code}</li>
     43                <li>EC code: ${study?.ecCode}</li>
     44                <g:each var="field" in="${study.template.fields}">
     45                        <li>${field.name} - ${study.getFieldValue(field.name)}</li>
     46                </g:each>
     47                  </ul>
     48                </p>
     49                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.
    3250        </div>
    3351        <h3><a href="#">Subjects</a></h3>
    3452        <div>
    3553                <p>
    36                 Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet
    37                 purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor
    38                 velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In
    39                 suscipit faucibus urna.
     54                ${subjects}
    4055                </p>
     56                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.
    4157        </div>
    4258        <h3><a href="#">Events</a></h3>
    4359        <div>
    4460                <p>
    45                 Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis.
    46                 Phasellus pellentesque purus in massa. Aenean in pede. Phasellus ac libero
    47                 ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna quis
    48                 lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui.
     61                ${subjects}
    4962                </p>
    5063                <ul>
     
    5366                        <li>List item three</li>
    5467                </ul>
     68                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.
    5569        </div>
    5670</div>
Note: See TracChangeset for help on using the changeset viewer.