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

Last change on this file since 163 was 163, checked in by duh, 10 years ago
  • added some dummy youtube videos (see the help icon for the ethical committee code and the last wizard page)
  • Property svn:keywords set to Rev Author Date
File size: 1.5 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: 163 $
13 * $Author: duh $
14 * $Date: 2010-02-02 15:13:17 +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                <wizard:templateColumnHeaders template="${study.template}" class="column" />
30        </div>
31<g:each var="subject" status="i" in="${subjects}">
32        <div class="row">
33                <div class="firstColumn">${i}</div>
34                <div class="column"><g:textField name="subject_${i}_name" value="${subject.name}" size="12" maxlength="12" /></div>
35                <div class="column">
36                        <wizard:speciesSelect value="${subject.species}" name="subject_${i}_species" />
37                </div>
38                <wizard:templateColumns id="${i}" template="${study.template}" class="column" />
39                <wizard:templateColumns id="${i}" template="${study.template}" class="column" />
40        </div>
41</g:each>
42</div>
43<div class="sliderContainer">
44        <div class="slider"/>
45</div>
46</g:if>
47</wizard:pageContent>
Note: See TracBrowser for help on using the repository browser.