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/assembly/edit.gsp

    r118 r122  
    5959                            <tr class="prop">
    6060                                <td valign="top" class="name">
    61                                     <label for="lifeplan">Lifeplan:</label>
     61                                    <label for="maintenanceActions">Maintenance Actions:</label>
    6262                                </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
    6572                                </td>
    6673                            </tr>
Note: See TracChangeset for help on using the changeset viewer.