Changeset 554 for trunk/grails-app/conf
- Timestamp:
- Jun 10, 2010, 11:43:50 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/conf/BootStrap.groovy
r550 r554 215 215 ) 216 216 .addToFields(new TemplateField(name: 'Description',type: TemplateFieldType.TEXT, entity: Study,comment:'Describe here the type of subjects and the treatment, challenges and sampling.')) 217 /* 217 218 .addToFields(new TemplateField( 218 219 name: 'Study code', … … 222 223 comment: 'Fill out the code by which many people will recognize your study') 223 224 ) 225 */ 224 226 .addToFields(new TemplateField(name: 'Objectives',type: TemplateFieldType.TEXT,entity: Study,comment:'Fill out the aim or questions of the study')) 225 227 .addToFields(new TemplateField(name: 'Consortium',type: TemplateFieldType.STRING,entity: Study,comment:'If the study was performed within a consortium (e.g. NMC, NuGO), you can indicate this here')) … … 731 733 ecCode:"2007117.c", 732 734 startDate: Date.parse('yyyy-MM-dd','2008-01-02'), 733 externalStudyID: 1734 735 ) 735 736 .with { if (!validate()) { errors.each { println it} } else save()} … … 939 940 ecCode:"unknown", 940 941 startDate: Date.parse('yyyy-MM-dd','2008-01-14'), 941 externalStudyID: 2942 942 ) 943 943 .setFieldValue( 'Description', "Human study performed at RRI; centres involved: RRI, IFR, TUM, Maastricht U." )
Note: See TracChangeset
for help on using the changeset viewer.