Changeset 122 for trunk/grails-app/views/subAssembly/edit.gsp
- Timestamp:
- May 1, 2009, 3:27:41 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/subAssembly/edit.gsp
r118 r122 72 72 <tr class="prop"> 73 73 <td valign="top" class="name"> 74 <label for=" lifeplan">Lifeplan:</label>74 <label for="maintenanceActions">Maintenance Actions:</label> 75 75 </td> 76 <td valign="top" class="value ${hasErrors(bean:subAssemblyInstance,field:'lifeplan','errors')}"> 77 <g:select optionKey="id" from="${LifePlan.list()}" name="lifeplan.id" value="${subAssemblyInstance?.lifeplan?.id}" ></g:select> 76 <td valign="top" class="value ${hasErrors(bean:subAssemblyInstance,field:'maintenanceActions','errors')}"> 77 78 <ul> 79 <g:each var="m" in="${subAssemblyInstance?.maintenanceActions?}"> 80 <li><g:link controller="maintenanceAction" action="show" id="${m.id}">${m?.encodeAsHTML()}</g:link></li> 81 </g:each> 82 </ul> 83 <g:link controller="maintenanceAction" params="['subAssembly.id':subAssemblyInstance?.id]" action="create">Add MaintenanceAction</g:link> 84 78 85 </td> 79 86 </tr>
Note: See TracChangeset
for help on using the changeset viewer.