Changeset 122 for trunk/grails-app/views/assembly/edit.gsp
- Timestamp:
- May 1, 2009, 3:27:41 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/assembly/edit.gsp
r118 r122 59 59 <tr class="prop"> 60 60 <td valign="top" class="name"> 61 <label for=" lifeplan">Lifeplan:</label>61 <label for="maintenanceActions">Maintenance Actions:</label> 62 62 </td> 63 <td valign="top" class="value ${hasErrors(bean:assemblyInstance,field:'lifeplan','errors')}"> 64 <g:select optionKey="id" from="${LifePlan.list()}" name="lifeplan.id" value="${assemblyInstance?.lifeplan?.id}" ></g:select> 63 <td valign="top" class="value ${hasErrors(bean:assemblyInstance,field:'maintenanceActions','errors')}"> 64 65 <ul> 66 <g:each var="m" in="${assemblyInstance?.maintenanceActions?}"> 67 <li><g:link controller="maintenanceAction" action="show" id="${m.id}">${m?.encodeAsHTML()}</g:link></li> 68 </g:each> 69 </ul> 70 <g:link controller="maintenanceAction" params="['assembly.id':assemblyInstance?.id]" action="create">Add MaintenanceAction</g:link> 71 65 72 </td> 66 73 </tr>
Note: See TracChangeset
for help on using the changeset viewer.