Ignore:
Timestamp:
Apr 19, 2010, 1:05:48 PM (14 years ago)
Author:
duh
Message:
  • added more templates to bootstrap
  • added a 300ms delay to ontology-chooser
  • refactored wizard subject page's "add subjects" dialogue (not working yet!) to incorporate an ontology field instead of a term select... this has to change though...
  • added template elements to tag library (ajaxButtonField and ontologyField)
  • minified ontology-chooser javascript
  • minified wizard.css
File:
1 edited

Legend:

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

    r342 r349  
    2323        </span>
    2424
    25         <wizard:ajaxButton name="add" value="Add" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" />
    26         <input name="addNumber" size="4" maxlength="4" value="1">
    27         subjects of species
    28         <wizard:speciesSelect name="addSpecies" />
    29         using the
    30         <wizard:templateSelect name="template" description="Template" value="${study?.template}" entity="${dbnp.studycapturing.Subject}" />
    31         template
     25        <wizard:textFieldElement name="addNumber" description="Number of subjects to add" error="addNumber" value="1" size="4" maxlength="4">
     26                The number of subjects to add to your study
     27        </wizard:textFieldElement>
     28        <wizard:ontologyElement name="species" description="of species" value="" ontology="1132">
     29                The species of the subjects you would like to add to your study
     30        </wizard:ontologyElement>
     31        <wizard:templateElement name="template" description="with template" value="" error="template" entity="${dbnp.studycapturing.Subject}" >
     32                The template to use for this study
     33        </wizard:templateElement>
     34        <wizard:ajaxButtonElement name="add" value="Add" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()">
     35        </wizard:ajaxButtonElement>
     36
    3237
    3338<g:if test="${subjects}">
Note: See TracChangeset for help on using the changeset viewer.