Ignore:
Timestamp:
Jan 22, 2010, 6:37:01 PM (10 years ago)
Author:
duh
Message:
Location:
trunk/grails-app/views/wizard
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/wizard/common/_wizard.gsp

    r105 r107  
    1616%>
    1717<div id="wizard" class="wizard">
    18         <h1>Proof of concept AJAXified Grails Webflow Wizard</h1>
     18        <h1>Create a new study</h1>
    1919        <g:form action="pages" name="wizardForm" id="wizardForm">
    2020                <div id="wizardPage">
  • trunk/grails-app/views/wizard/pages/_study.gsp

    r105 r107  
    1616%>
    1717<wizard:pageContent>
    18         <wizard:textFieldElement name="studyTitle" description="Title" error="title" value="${study?.title}">
     18        <wizard:textFieldElement name="title" description="Title" error="title" value="${study?.title}">
    1919                The title of the study you are creating
    2020        </wizard:textFieldElement>
    21         <wizard:textFieldElement name="studyCode" description="Code" error="code">
     21        <wizard:textFieldElement name="code" description="Code" error="code" value="${study?.code}">
    2222                A code to reference your study by
    2323        </wizard:textFieldElement>
    24         <wizard:textFieldElement name="studyResearchQuestion" description="Research Question" error="researchQuestion">
     24        <wizard:textFieldElement name="researchQuestion" description="Research Question" error="researchQuestion" value="${study?.researchQuestion}">
    2525                The research question
    2626        </wizard:textFieldElement>
    27         <wizard:textFieldElement name="studyDescription" description="Description" error="description" />
    28         <wizard:textFieldElement name="studyEcCode" description="Ethical Committee Code" error="ecCode" />
     27        <wizard:textFieldElement name="description" description="Description" error="description" value="${study?.description}" />
     28        <wizard:textFieldElement name="ecCode" description="Ethical Committee Code" error="ecCode" value="${study?.ecCode}" />
     29        <wizard:dateElement name="startDate" description="Start date" error="startDate" value="${study?.startDate}">
     30                The start date of the study     
     31        </wizard:dateElement>
    2932</wizard:pageContent>
Note: See TracChangeset for help on using the changeset viewer.