Changeset 131 for trunk/grails-app/views/assembly/edit.gsp
- Timestamp:
- May 8, 2009, 1:01:56 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/assembly/edit.gsp
r122 r131 32 32 <tr class="prop"> 33 33 <td valign="top" class="name"> 34 <label for="assetType s">Asset Types:</label>34 <label for="assetType">Asset Type:</label> 35 35 </td> 36 <td valign="top" class="value ${hasErrors(bean:assemblyInstance,field:'assetType s','errors')}">37 36 <td valign="top" class="value ${hasErrors(bean:assemblyInstance,field:'assetType','errors')}"> 37 <g:select optionKey="id" from="${AssetType.list()}" name="assetType.id" value="${assemblyInstance?.assetType?.id}" ></g:select> 38 38 </td> 39 39 </tr> … … 87 87 </td> 88 88 <td valign="top" class="value ${hasErrors(bean:assemblyInstance,field:'subAssemblies','errors')}"> 89 <g:select name="subAssemblies" 90 from="${SubAssembly.list()}" 91 size="5" multiple="yes" optionKey="id" 92 value="${assemblyInstance?.subAssemblies}" /> 89 90 <ul> 91 <g:each var="s" in="${assemblyInstance?.subAssemblies?}"> 92 <li><g:link controller="subAssembly" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li> 93 </g:each> 94 </ul> 95 <g:link controller="subAssembly" params="['assembly.id':assemblyInstance?.id]" action="create">Add SubAssembly</g:link> 93 96 94 97 </td>
Note: See TracChangeset
for help on using the changeset viewer.