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

Last change on this file since 140 was 140, checked in by duh, 10 years ago
  • temporary backup commit
  • Property svn:keywords set to Rev Author Date
File size: 1.0 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 12:32:41 +0000 (wo, 27 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">${i+1}</div>
27                <div class="row"><g:textField name="test" value="test" size="12" maxlength="12" /></div>
28                <div class="row">
29                        <wizard:speciesSelect value="${subject.species}" name="species_${i}" />
30                </div>
31                <div class="row">${subject.name}</div>
32        </div>
33</g:each>
34</div>
35</g:if>
36</wizard:pageContent>
Note: See TracBrowser for help on using the repository browser.