source: trunk/grails-app/views/wizard/pages/_groups.gsp @ 180

Last change on this file since 180 was 180, checked in by duh, 14 years ago
  • wizard subject page now mainains state and stores form data in flow scope
File size: 1.2 KB
Line 
1<%
2/**
3 * Subjects 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: 140 $
13 * $Author: duh $
14 * $Date: 2010-01-27 13:32:41 +0100 (Wed, 27 Jan 2010) $
15 */
16%>
17<wizard:pageContent>
18<div class="grouping">
19
20        <div class="subjects">
21                <g:each var="subject" status="i" in="${subjects}"><div class="subject">${subject.name}</div>
22                </g:each>
23        </div>
24        <div class="right">
25                <div class="form">
26                        name: <g:textField name="name" value="" /><br />
27                        <wizard:ajaxButton name="add" value="Add Group" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" />
28                </div>
29                <div class="groups">
30                <g:each var="group" status="i" in="${groups}">
31                        <div class="group">
32                                <div class="label">${group.name}</div>
33                                <div class="subjects">
34                                        <div class="subject">test subject 1</div>
35                                        <div class="subject">test subject 2</div>
36                                        <div class="subject">test subject 3</div>
37                                </div>
38                        </div>
39                </g:each>
40                </div>
41        </div>
42</div>
43</wizard:pageContent>
Note: See TracBrowser for help on using the repository browser.