Changeset 352 for trunk/grails-app/views
- Timestamp:
- Feb 12, 2010, 12:14:23 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/assetSubItemDetailed/edit.gsp
r348 r352 95 95 </td> 96 96 </tr> 97 97 98 98 99 <tr class="prop"> 99 100 <td valign="top" class="name"> … … 101 102 </td> 102 103 <td valign="top" class="value ${hasErrors(bean:assetSubItemInstance,field:'parentItem','errors')}"> 103 <g:select optionKey="id" from="${AssetSubItem.list()}" name="parentItem.id" value="${assetSubItemInstance?.parentItem?.id}" noSelection="['null':'']"></g:select> 104 <g:if test="${assetSubItemInstance.assets}"> 105 Assigned to assets. 106 </g:if> 107 <g:else> 108 <g:select optionKey="id" from="${possibleParentItems}" name="parentItem.id" value="${assetSubItemInstance?.parentItem?.id}" noSelection="['null':'--None--']"></g:select> 109 </g:else> 104 110 </td> 105 </tr> 111 </tr> 106 112 107 113 <tr class="prop">
Note: See TracChangeset
for help on using the changeset viewer.