Changeset 804 for trunk/grails-app/views


Ignore:
Timestamp:
Aug 12, 2010, 1:21:38 PM (11 years ago)
Author:
duh
Message:
  • event template feedback was wrong
  • made a generic change that both template fields as well as template headers:
    • split combined words in the view (e.g. MyCoolFieldName? --> My Cool Field Name)
    • capitalize seperate words in the view (e.g. My field name --> My Field Name)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/wizard/pages/_events.gsp

    r778 r804  
    3131        </wizard:radioElement>
    3232        <wizard:templateElement name="eventTemplate" elementId="eventTemplate" description="Event Template" value="${event?.template}" entity="${dbnp.studycapturing.Event}" addDummy="true" ajaxOnChange="switchTemplate" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" >
    33                 The template to use for this study
     33                The template to use for this event
    3434        </wizard:templateElement>
    35         <wizard:templateElement name="sampleTemplate" elementId="sampleTemplate" description="Sample Template" value="${event?.template}" entity="${dbnp.studycapturing.SamplingEvent}" addDummy="true" ajaxOnChange="switchTemplate" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" >
    36                 The template to use for this study
     35        <wizard:templateElement name="sampleTemplate" elementId="sampleTemplate" description="Sampling Event Template" value="${event?.template}" entity="${dbnp.studycapturing.SamplingEvent}" addDummy="true" ajaxOnChange="switchTemplate" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" >
     36                The template to use for this sampling event
    3737        </wizard:templateElement>
    3838        <g:if test="${event?.template}">
Note: See TracChangeset for help on using the changeset viewer.