Changeset 565 for trunk/grails-app/views
- Timestamp:
- Jun 15, 2010, 5:45:16 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/wizard/pages/_subjects.gsp
r526 r565 25 25 </span> 26 26 27 <wizard:textFieldElement name="addNumber" description="Number of subjects to add" error="addNumber" value=" 1" size="4" maxlength="4">27 <wizard:textFieldElement name="addNumber" description="Number of subjects to add" error="addNumber" value="${values.addNumber}" size="4" maxlength="4"> 28 28 The number of subjects to add to your study 29 29 </wizard:textFieldElement> 30 <wizard:termElement name="species" description="of species" value=" " ontologies="1132">30 <wizard:termElement name="species" description="of species" value="${values.species}" ontologies="1132" addDummy="true"> 31 31 The species of the subjects you would like to add to your study 32 32 </wizard:termElement> 33 <wizard:templateElement name="template" description="with template" value=" " error="template" entity="${dbnp.studycapturing.Subject}">33 <wizard:templateElement name="template" description="with template" value="${values.template}" error="template" entity="${dbnp.studycapturing.Subject}" addDummy="true"> 34 34 The template to use for these subjects 35 35 </wizard:templateElement> 36 36 <wizard:ajaxButtonElement name="add" value="Add" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()"> 37 37 </wizard:ajaxButtonElement> 38 39 38 40 39 <g:if test="${subjects}"> … … 60 59 <wizard:ajaxButton name="delete" src="../images/icons/famfamfam/delete.png" alt="delete this subject" class="famfamfam" value="-" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" before="\$(\'input[name=do]\').val(${subjectId});" afterSuccess="onWizardPage()" /> 61 60 </div> 62 <wizard:templateColumns id="${subjectId}" entity="${subjects[ subjectId ]}" template="${subjects[ subjectId ].template}" name="subject_${subjectId}" class="column" subject="${subjects[ subjectId ]}" />61 <wizard:templateColumns id="${subjectId}" entity="${subjects[ subjectId ]}" template="${subjects[ subjectId ].template}" name="subject_${subjectId}" class="column" subject="${subjects[ subjectId ]}" addDummy="true" /> 63 62 </div> 64 63 </g:if>
Note: See TracChangeset
for help on using the changeset viewer.