source: trunk/grails-app/views/wizard/pages/_subjects.gsp @ 138

Last change on this file since 138 was 138, checked in by duh, 14 years ago
  • added development version of wizard subjects page and logic
  • modified some domain classes (again, who reverted them?) to implement Serializable
  • Property svn:keywords set to Rev Author Date
File size: 876 bytes
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: 138 $
13 * $Author: duh $
14 * $Date: 2010-01-26 15:46:01 +0000 (di, 26 jan 2010) $
15 */
16%>
17<wizard:pageContent>
18<wizard:ajaxButton name="add" value="Add" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="attachHelpTooltips()" />
19<input name="addNumber" size="4" maxlength="4" value="1">
20subjects of species
21<wizard:speciesSelect name="addSpecies" />
22<g:if test="${subjects}">
23<div class="subjects">
24<g:each var="subject" status="i" in="${subjects}">
25        <div class="subject<g:if test="${i>0}"> topborder</g:if>">
26                <div class="row">subject ${i}</div>
27                <div class="row">${subject}</div>
28        </div>
29</g:each>
30</div>
31</g:if>
32</wizard:pageContent>
Note: See TracBrowser for help on using the repository browser.