Ignore:
Timestamp:
May 1, 2009, 3:27:41 PM (16 years ago)
Author:
gav
Message:

Run generate-all on all controllers and views except Person and Authority.
Extensive work on Asset domain and application now compiles and runs well.
Update BootStrap? to suite.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/subAssembly/edit.gsp

    r118 r122  
    7272                            <tr class="prop">
    7373                                <td valign="top" class="name">
    74                                     <label for="lifeplan">Lifeplan:</label>
     74                                    <label for="maintenanceActions">Maintenance Actions:</label>
    7575                                </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
    7885                                </td>
    7986                            </tr>
Note: See TracChangeset for help on using the changeset viewer.