Ignore:
Timestamp:
May 8, 2009, 1:01:56 AM (16 years ago)
Author:
gav
Message:

Reconfigure Planned Maintenance again, now Preventative Maintenance, TaskProcedure? and MaintenanceAction?

File:
1 edited

Legend:

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

    r124 r131  
    3535                                </td>
    3636                                <td valign="top" class="value ${hasErrors(bean:assetTypeInstance,field:'assemblies','errors')}">
    37                                     <g:select name="assemblies"
    38 from="${Assembly.list()}"
    39 size="5" multiple="yes" optionKey="id"
    40 value="${assetTypeInstance?.assemblies}" />
     37                                   
     38<ul>
     39<g:each var="a" in="${assetTypeInstance?.assemblies?}">
     40    <li><g:link controller="assembly" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li>
     41</g:each>
     42</ul>
     43<g:link controller="assembly" params="['assetType.id':assetTypeInstance?.id]" action="create">Add Assembly</g:link>
    4144
    4245                                </td>
Note: See TracChangeset for help on using the changeset viewer.