Ignore:
Timestamp:
Feb 25, 2010, 4:18:22 PM (12 years ago)
Author:
duh
Message:
  • restructured wizard
  • added information boxes
  • improved error feedback (highlighted error fields)
  • added confirmation page
  • several smaller bugfixes and improvements
File:
1 edited

Legend:

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

    r209 r213  
    1616%>
    1717<wizard:pageContent>
    18         <wizard:selectElement name="eventDescription" description="Event Description" error="eventDescription" from="${eventDescriptions}" value="${eventDescription}">
     18        <span class="info">
     19                <span class="title">Define all events and their duration that occur in your study</span>
     20                In the previous screen you defined the unique event types, in this screen you need to define
     21                all events of a specific event type that occur in time. Select the type of event, and the
     22                start and stop time of an event. As it is frequently the case that <i>sets</i> of events act
     23                upon (groups of) subjects, you can define event groups, and add events to a particular group.<br/>
     24                <i>Note that you can edit multiple events at once by selecting multpiple rows by either
     25                ctrl-clicking them or dragging a selection over them.</i>
     26        </span>
     27
     28        <wizard:selectElement name="eventDescription" description="Event Description" error="eventDescription" from="${eventDescriptions}" value="${values?.eventDescription}">
    1929                The event description for this event
    2030        </wizard:selectElement>
    21         <wizard:timeElement name="startTime" description="Start Time" error="startTime" value="${startTime}">
     31        <wizard:timeElement name="startTime" description="Start Time" error="startTime" value="${values?.startTime}">
    2232                The start time of the study
    2333        </wizard:timeElement>
    24         <wizard:timeElement name="endTime" description="End time" error="endTimee" value="${endTime}">
     34        <wizard:timeElement name="endTime" description="End time" error="endTimee" value="${values?.endTime}">
    2535                The end time of the study
    2636        </wizard:timeElement>
    2737        <wizard:buttonElement name="add" value="Add" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()"/>
    28 <g:if test="${events}">
     38<g:if test="${events}"> 
    2939        <div class="table">
    3040                <div class="header">
Note: See TracChangeset for help on using the changeset viewer.