Changeset 872 for trunk/grails-app/views/taskDetailed/createUnscheduled.gsp
- Timestamp:
- Mar 16, 2011, 8:43:03 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/taskDetailed/createUnscheduled.gsp
r728 r872 25 25 <table> 26 26 <tbody> 27 28 <tr class="prop"> 29 <td valign="top" class="name"> 30 <label for="primaryAsset">Asset:</label> 31 </td> 32 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'primaryAsset','errors')}"> 33 <g:select optionKey="id" 34 from="${Asset.findAllByIsActive(true).sort { p1, p2 -> p1.name.compareToIgnoreCase(p2.name) }}" 35 name="primaryAsset.id" 36 value="${taskInstance?.primaryAsset?.id}" 37 noSelection="['null':/${g.message(code:'default.none.select.text')}/]"> 38 </g:select> 39 <g:helpBalloon code="task.primaryAsset" /> 40 </td> 41 </tr> 27 42 28 43 <tr class="prop"> … … 77 92 </g:select> 78 93 <g:helpBalloon code="task.leadPerson" /> 79 </td>80 </tr>81 82 <tr class="prop">83 <td valign="top" class="name">84 <label for="primaryAsset">Asset:</label>85 </td>86 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'primaryAsset','errors')}">87 <g:select optionKey="id"88 from="${Asset.findAllByIsActive(true).sort { p1, p2 -> p1.name.compareToIgnoreCase(p2.name) }}"89 name="primaryAsset.id"90 value="${taskInstance?.primaryAsset?.id}"91 noSelection="['null':/${g.message(code:'default.none.select.text')}/]">92 </g:select>93 <g:helpBalloon code="task.primaryAsset" />94 94 </td> 95 95 </tr>
Note: See TracChangeset
for help on using the changeset viewer.