Changeset 352

Show
Ignore:
Timestamp:
20-04-10 09:29:08 (4 years ago)
Author:
duh
Message:

- removed the study fields that should be moved into template(s)

Location:
trunk/grails-app
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/domain/dbnp/studycapturing/Study.groovy

    r345 r352  
    1313        nimble.User owner 
    1414        String title 
    15  
    16         // TODO: The following 4 fields should be moved into templates 
    17         String code 
    18         String researchQuestion 
    19         String description 
    20         String ecCode 
    21  
    2215        Date dateCreated 
    2316        Date lastUpdated 
    2417        Date startDate 
     18 
     19        // TODO: The following 4 fields should be moved into templates 
     20        //String code 
     21        //String researchQuestion 
     22        //String description 
     23        //String ecCode 
     24 
    2525 
    2626        static hasMany = [ 
  • trunk/grails-app/views/wizard/pages/_study.gsp

    r340 r352  
    2828                The title of the study you are creating 
    2929        </wizard:textFieldElement> 
    30         <wizard:textFieldElement name="code" description="Code" error="code" value="${study?.code}"> 
    31                 A code to reference your study by 
    32         </wizard:textFieldElement> 
    33         <wizard:textFieldElement name="researchQuestion" description="Research Question" error="researchQuestion" value="${study?.researchQuestion}"> 
    34                 The research question 
    35         </wizard:textFieldElement> 
    36         <wizard:textFieldElement name="description" description="Description" error="description" value="${study?.description}"> 
    37                 A short description summarizing your study 
    38         </wizard:textFieldElement> 
    39         <wizard:textFieldElement name="ecCode" description="Ethical Committee Code" error="ecCode" value="${study?.ecCode}"> 
    40                 [youtube:irvC_1ujhKo] 
    41         </wizard:textFieldElement> 
    4230        <wizard:dateElement name="startDate" description="Start date" error="startDate" value="${study?.startDate}"> 
    4331                The start date of the study