Ignore:
Timestamp:
Apr 27, 2011, 12:10:16 PM (11 years ago)
Author:
work@…
Message:

RE-committed Robert's change after the SVN was fixed, original commit log was:

  • Added environmental ontology (1069) to the subject.species field, to fix issue #353
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/studyWizard/pages/_subjects.gsp

    r1461 r1791  
    1414 * $Date$
    1515 */
     16
     17def speciesOntologies = dbnp.studycapturing.Subject.giveDomainFields().find { it.name == 'species' }.ontologies.collect { it.ncboId }
    1618%>
    1719<af:page>
     
    3133                The species of the subjects you would like to add to your study
    3234        </af:termElement>
    33         <af:templateElement name="template" description="with template" value="${values?.template}" error="template" entity="${dbnp.studycapturing.Subject}" ontologies="1132" addDummy="true">
     35        <af:templateElement name="template" description="with template" value="${values?.template}" error="template" entity="${dbnp.studycapturing.Subject}" ontologies="${speciesOntologies.join( ',' )}" addDummy="true">
    3436                The template to use for these subjects
    3537        </af:templateElement>
Note: See TracChangeset for help on using the changeset viewer.