Changeset 1046 for trunk/grails-app/views/pilot/index.gsp
- Timestamp:
- Nov 2, 2010, 10:25:06 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/pilot/index.gsp
r959 r1046 11 11 <p>Thank you for participating in the 2010 Pilot of the NMC-DSP/GSCF application</p> 12 12 <br /> 13 <center> 14 <g:link action="create" ><font size="+5" style="padding: 5px; border: 2px solid #CDCDCD;">Start here</font></g:link> 15 </center> 16 <br /> 17 <br /> 13 <table> 14 <tr> 15 <g:if test="${studyInstanceList}"> 16 <td width="50%"> 17 <h3>Continue with an existing Pilot Study</h3> 18 <g:each in="${studyInstanceList}" var="study"> 19 - <g:link controller="pilot" action="show" id="${study.id}">${study.title}</g:link><br /> 20 </g:each> 21 </td> 22 </g:if> 23 <td width="50%"> 24 <h3>Start new Pilot here</h3> 25 <g:if test="${flash.message}"> 26 <div class="message">${flash.message}</div> 27 </g:if> 28 29 <g:hasErrors bean="${studyInstance}"> 30 <div class="errors"> 31 <g:renderErrors bean="${studyInstance}" as="list" /> 32 </div> 33 </g:hasErrors> 34 35 <g:form action="save" method="post" > 36 <div class="dialog"> 37 <p>Start by creating a study. For this pilot a title and start date are sufficient. When finished click on the "Create/Invoeren" button.</p> 38 <table> 39 <tbody> 40 41 <tr class="prop"> 42 <td valign="top" class="name"> 43 <label for="title"><g:message code="study.title.label" default="Title" /></label> 44 </td> 45 <td valign="top" class="value ${hasErrors(bean: studyInstance, field: 'title', 'errors')}"> 46 <g:textField name="title" value="${studyInstance?.title}" /> 47 </td> 48 </tr> 49 50 <tr class="prop"> 51 <td valign="top" class="name"> 52 <label for="startDate"><g:message code="study.startDate.label" default="Start Date" /></label> 53 </td> 54 <td valign="top" class="value ${hasErrors(bean: studyInstance, field: 'startDate', 'errors')}"> 55 <g:datePicker name="startDate" precision="day" value="${studyInstance?.startDate}" /> 56 </td> 57 </tr> 58 59 </tbody> 60 </table> 61 </div> 62 <div class="buttons"> 63 <g:each in="${extraparams}" var="param"> 64 <input type="hidden" name="${param.key}" value="${param.value}"> 65 </g:each> 66 <span class="button"><g:submitButton name="create" class="save" value="${message(code: 'default.button.create.label', default: 'Create')}" /></span> 67 <span class="button"><g:link class="cancel" action="list" params="${extraparams}">Cancel</g:link></span> 68 </div> 69 </g:form> 70 </td> 71 </tr> 72 </table> 73 <br /><br /> 18 74 </body> 19 75 </html>
Note: See TracChangeset
for help on using the changeset viewer.