Changeset 1825 for trunk/grails-app
- Timestamp:
- May 9, 2011, 11:57:19 AM (10 years ago)
- Location:
- trunk/grails-app
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/taglib/dbnp/studycapturing/WizardTagLib.groovy
r1802 r1825 39 39 def studySelect = { attrs -> 40 40 // Find all studies the user has access to (max 100) 41 attrs.from = Study.giveWritableStudies(authenticationService.getLoggedInUser(), 100); 41 attrs.from = [] 42 attrs.optionKey = 'id' 43 attrs.optionValue = 'title' 44 Study.giveWritableStudies(authenticationService.getLoggedInUser(), 100).each { 45 attrs.from[ attrs.from.size() ] = [ 46 id : it.properties.id, 47 title : it.toString() 48 ] 49 } 42 50 43 51 // got a name? -
trunk/grails-app/views/studyWizard/pages/_modify.gsp
r1461 r1825 21 21 </span> 22 22 23 <af:studyElement name="study " description="Study" error="study" value="">23 <af:studyElement name="studyid" description="Study" error="study" value=""> 24 24 The study you would like to load and edit 25 25 </af:studyElement>
Note: See TracChangeset
for help on using the changeset viewer.