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

Last change on this file since 157 was 157, checked in by duh, 10 years ago
  • temporary commit
  • Property svn:keywords set to Rev Author Date
File size: 1.3 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: 157 $
13 * $Author: duh $
14 * $Date: 2010-02-02 09:31:25 +0000 (di, 02 feb 2010) $
15 */
16%>
17<wizard:pageContent>
18<wizard:ajaxButton name="add" value="Add" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" />
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="table">
24        <div class="header">
25                <div class="firstColumn">#</div>
26                <div class="column">name</div>
27                <div class="column">species</div>
28                <wizard:templateColumnHeaders template="${study.template}" class="column" />
29        </div>
30<g:each var="subject" status="i" in="${subjects}">
31        <div class="row">
32                <div class="firstColumn">${i}</div>
33                <div class="column"><g:textField name="subject_${i}_name" value="${subject.name}" size="12" maxlength="12" /></div>
34                <div class="column">
35                        <wizard:speciesSelect value="${subject.species}" name="subject_${i}_species" />
36                </div>
37                <wizard:templateColumns id="${i}" template="${study.template}" class="column" />
38        </div>
39</g:each>
40</div>
41<div class="sliderContainer">
42        <div class="slider"/>
43</div>
44</g:if>
45</wizard:pageContent>
Note: See TracBrowser for help on using the repository browser.