Changeset 838 for trunk/grails-app/views/entryDetailed/edit.gsp
- Timestamp:
- Mar 3, 2011, 11:17:40 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/entryDetailed/edit.gsp
r432 r838 37 37 </td> 38 38 </tr> 39 40 <g:if test="${entryInstance?.entryType?.id == 1}"> 41 <tr class="prop"> 42 <td valign="top" class="name"> 43 <label for="productionReference">Production:</label> 44 </td> 45 <td valign="top" class="value ${hasErrors(bean:entryInstance,field:'productionReference','errors')}"> 46 <g:select optionKey="id" 47 from="${ProductionReference.findAllByIsActive(true)}" 48 name="productionReference.id" 49 value="${entryInstance.productionReference?.id}" 50 noSelection="['null':'--None--']"> 51 </g:select> 52 <g:helpBalloon code="entry.productionReference.fault" /> 53 </td> 54 </tr> 55 </g:if> 56 57 <g:if test="${entryInstance?.entryType?.id == 6}"> 58 <tr class="prop"> 59 <td valign="top" class="name"> 60 <label for="highestSeverity">Condition Severity:</label> 61 </td> 62 <td valign="top" class="value ${hasErrors(bean:entryInstance,field:'highestSeverity','errors')}"> 63 <g:select optionKey="id" 64 from="${ConditionSeverity.findAllByIsActive(true)}" 65 name="highestSeverity.id" 66 value="${entryInstance.highestSeverity?.id}" 67 noSelection="['null':/${g.message(code:'default.please.select.text')}/]" > 68 </g:select> 69 <custom:helpBalloon code="entry.comment.pm.entry" iconSrc="${resource(plugin:'help-balloons', dir:'images', file:'balloon-icon.gif')}" /> 70 </td> 71 </tr> 72 </g:if> 39 73 40 74 <tr class="prop"> … … 55 89 </td> 56 90 </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>74 91 75 92 <g:if test="${entryInstance?.entryType?.id != 2}">
Note: See TracChangeset
for help on using the changeset viewer.