Changeset 385


Ignore:
Timestamp:
Apr 27, 2010, 10:25:43 AM (13 years ago)
Author:
duh
Message:
  • template editor view used Study as entity instead of the dynamically passed entity
Location:
trunk/grails-app
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/dbnp/studycapturing/TemplateEditorController.groovy

    r377 r385  
    7777                                                        // fetch all templates to this entity
    7878                                                        flow.templates = Template.findAllByEntity(entity)
    79 
     79                                                       
    8080                                                        // find all template fields for this particular entity
    8181                                                        // for now, all
  • trunk/grails-app/views/templateEditor/pages/templates.gsp

    r377 r385  
    3232
    3333 <g:form action="pages" name="wizardForm" id="wizardForm">
    34   <wizard:templateSelect name="template" description="Template" value="${template}" entity="${dbnp.studycapturing.Study}" addDummy="true" onChange="this.form.submit();" />
     34  <wizard:templateSelect name="template" description="Template" value="${template}" entity="${entity}" addDummy="true" onChange="this.form.submit();" />
    3535 </g:form>
    3636
Note: See TracChangeset for help on using the changeset viewer.