Ignore:
Timestamp:
Apr 19, 2011, 4:12:15 PM (10 years ago)
Author:
work@…
Message:
  • resolves #400, study should contain at least one contact
File:
1 edited

Legend:

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

    r1461 r1775  
    2323        </span>
    2424
    25         <af:templateElement name="template" description="Template" value="${study?.template}" entity="${dbnp.studycapturing.Study}" addDummy="true" ajaxOnChange="switchTemplate" afterSuccess="onPage()">
     25        <af:templateElement name="template" description="Template" value="${study?.template}" entity="${dbnp.studycapturing.Study}" addDummy="true" ajaxOnChange="switchTemplate" afterSuccess="onPage()" required="true" >
    2626                Choose the type of study you would like to create.
    2727                Depending on the chosen template specific fields can be filled out. If none of the templates contain all the necessary fields, a new template can be defined (based on other templates).
     
    3030                <af:templateElements entity="${study}"/>
    3131                <af:publicationSelectElement name="publication" value="${study?.publications}"/>
    32                 <af:contactSelectElement name="contacts" value="${study?.persons}"/>
     32                <af:contactSelectElement name="contacts" value="${study?.persons}" />
    3333                <br/>
    3434                <div class="element">
Note: See TracChangeset for help on using the changeset viewer.