Changeset 431 for trunk/grails-app/views/entryDetailed
- Timestamp:
- Mar 5, 2010, 12:45:43 PM (15 years ago)
- Location:
- trunk/grails-app/views/entryDetailed
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/entryDetailed/create.gsp
r230 r431 60 60 </td> 61 61 <td valign="top" class="value ${hasErrors(bean:entryInstance,field:'dateDone','errors')}"> 62 <richui:dateChooser name="dateDone" format="dd-MM-yyyy" value="${ new Date()}" />62 <richui:dateChooser name="dateDone" format="dd-MM-yyyy" value="${entryInstance.dateDone}" /> 63 63 <g:helpBalloon code="entry.date.done" /> 64 64 </td> 65 65 </tr> 66 67 <g:if test="${entryInstance?.entryType?.id == 1}"> 68 <tr class="prop"> 69 <td valign="top" class="name"> 70 <label for="productionReference">Production:</label> 71 </td> 72 <td valign="top" class="value ${hasErrors(bean:entryInstance,field:'productionReference','errors')}"> 73 <g:select optionKey="id" 74 from="${ProductionReference.findAllByIsActive(true)}" 75 name="productionReference.id" 76 value="${entryInstance.productionReference?.id}" 77 noSelection="['null':'--None--']"> 78 </g:select> 79 <g:helpBalloon code="entry.productionReference.fault" /> 80 </td> 81 </tr> 82 </g:if> 66 83 67 84 <tr class="prop"> -
trunk/grails-app/views/entryDetailed/edit.gsp
r395 r431 55 55 </td> 56 56 </tr> 57 58 <g:if test="${entryInstance?.entryType?.id == 1}"> 59 <tr class="prop"> 60 <td valign="top" class="name"> 61 <label for="productionReference">Production:</label> 62 </td> 63 <td valign="top" class="value ${hasErrors(bean:entryInstance,field:'productionReference','errors')}"> 64 <g:select optionKey="id" 65 from="${ProductionReference.findAllByIsActive(true)}" 66 name="productionReference.id" 67 value="${entryInstance.productionReference?.id}" 68 noSelection="['null':'--None--']"> 69 </g:select> 70 <g:helpBalloon code="entry.productionReference.fault" /> 71 </td> 72 </tr> 73 </g:if> 57 74 58 75 <tr class="prop"> -
trunk/grails-app/views/entryDetailed/show.gsp
r147 r431 49 49 50 50 </tr> 51 52 <g:if test="${entryInstance.productionReference}"> 53 <tr class="prop"> 54 <td valign="top" class="name">Production:</td> 55 56 <td valign="top" class="value"> 57 ${fieldValue(bean:entryInstance, field:'productionReference')} 58 </td> 59 60 </tr> 61 </g:if> 51 62 52 63 <tr class="prop">
Note: See TracChangeset
for help on using the changeset viewer.