Changeset 838 for trunk/grails-app/views/entryDetailed/_create.gsp
- Timestamp:
- Mar 3, 2011, 11:17:40 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/entryDetailed/_create.gsp
r833 r838 16 16 <table> 17 17 <tbody> 18 19 <g:if test="${entryInstance?.entryType?.id == 1}"> 20 <tr class="prop"> 21 <td valign="top" class="name"> 22 <label for="productionReference">Production:</label> 23 </td> 24 <td valign="top" class="value ${hasErrors(bean:entryInstance,field:'productionReference','errors')}"> 25 <g:select optionKey="id" 26 from="${ProductionReference.findAllByIsActive(true)}" 27 name="productionReference.id" 28 value="${entryInstance.productionReference?.id}" 29 noSelection="['null':'--None--']"> 30 </g:select> 31 <custom:helpBalloon code="entry.productionReference.fault" iconSrc="${resource(plugin:'help-balloons', dir:'images', file:'balloon-icon.gif')}" /> 32 </td> 33 </tr> 34 </g:if> 35 36 <g:if test="${entryInstance?.entryType?.id == 6}"> 37 <tr class="prop"> 38 <td valign="top" class="name"> 39 <label for="highestSeverity">Condition Severity:</label> 40 </td> 41 <td valign="top" class="value ${hasErrors(bean:entryInstance,field:'highestSeverity','errors')}"> 42 <g:select optionKey="id" 43 from="${ConditionSeverity.findAllByIsActive(true)}" 44 name="highestSeverity.id" 45 value="${entryInstance.highestSeverity?.id}" 46 noSelection="['null':/${g.message(code:'default.please.select.text')}/]" > 47 </g:select> 48 <custom:helpBalloon code="entry.comment.pm.entry" iconSrc="${resource(plugin:'help-balloons', dir:'images', file:'balloon-icon.gif')}" /> 49 </td> 50 </tr> 51 </g:if> 18 52 19 53 <tr class="prop"> … … 48 82 </tr> 49 83 50 <g:if test="${entryInstance?.entryType?.id == 1}">51 <tr class="prop">52 <td valign="top" class="name">53 <label for="productionReference">Production:</label>54 </td>55 <td valign="top" class="value ${hasErrors(bean:entryInstance,field:'productionReference','errors')}">56 <g:select optionKey="id"57 from="${ProductionReference.findAllByIsActive(true)}"58 name="productionReference.id"59 value="${entryInstance.productionReference?.id}"60 noSelection="['null':'--None--']">61 </g:select>62 <custom:helpBalloon code="entry.productionReference.fault" iconSrc="${resource(plugin:'help-balloons', dir:'images', file:'balloon-icon.gif')}" />63 </td>64 </tr>65 </g:if>66 67 84 <g:if test="${entryInstance?.entryType?.id != 2}"> 68 85 <tr class="prop">
Note: See TracChangeset
for help on using the changeset viewer.