Ignore:
Timestamp:
May 4, 2009, 1:59:11 PM (16 years ago)
Author:
gav
Message:

Detail controller and views for Asset, AssetExtendedAttribute?, PlannedMaintenance?, MaintenanceAction?, RecurringSchedule?, SystemSection?.
Some minor work on Task controller and views.
Change PlannedMaintenance? relationship, adjust ERD, Bootstrap and Domain classes to suite.

File:
1 edited

Legend:

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

    r122 r124  
    3232                            <tr class="prop">
    3333                                <td valign="top" class="name">
    34                                     <label for="assetExtendedAttributeType">Asset Extended Attribute Type:</label>
     34                                    <label for="asset">Asset:</label>
    3535                                </td>
    36                                 <td valign="top" class="value ${hasErrors(bean:assetExtendedAttributeInstance,field:'assetExtendedAttributeType','errors')}">
    37                                     <g:select optionKey="id" from="${AssetExtendedAttributeType.list()}" name="assetExtendedAttributeType.id" value="${assetExtendedAttributeInstance?.assetExtendedAttributeType?.id}" ></g:select>
     36                                <td valign="top" class="value ${hasErrors(bean:assetExtendedAttributeInstance,field:'asset','errors')}">
     37                                    <g:select optionKey="id" from="${Asset.list()}" name="asset.id" value="${assetExtendedAttributeInstance?.asset?.id}" ></g:select>
    3838                                </td>
    3939                            </tr>
     
    4141                            <tr class="prop">
    4242                                <td valign="top" class="name">
    43                                     <label for="assetType">Asset Type:</label>
     43                                    <label for="assetExtendedAttributeType">Asset Extended Attribute Type:</label>
    4444                                </td>
    45                                 <td valign="top" class="value ${hasErrors(bean:assetExtendedAttributeInstance,field:'assetType','errors')}">
    46                                     <g:select optionKey="id" from="${AssetType.list()}" name="assetType.id" value="${assetExtendedAttributeInstance?.assetType?.id}" ></g:select>
     45                                <td valign="top" class="value ${hasErrors(bean:assetExtendedAttributeInstance,field:'assetExtendedAttributeType','errors')}">
     46                                    <g:select optionKey="id" from="${AssetExtendedAttributeType.list()}" name="assetExtendedAttributeType.id" value="${assetExtendedAttributeInstance?.assetExtendedAttributeType?.id}" ></g:select>
    4747                                </td>
    4848                            </tr>
Note: See TracChangeset for help on using the changeset viewer.