Ignore:
Timestamp:
Oct 22, 2009, 4:33:25 PM (15 years ago)
Author:
gav
Message:

Add costCode attribute to Asset and regen non-detailed controller and views, adjust detailed views to suite.

File:
1 edited

Legend:

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

    r151 r161  
    6666                            <tr class="prop">
    6767                                <td valign="top" class="name">
     68                                    <label for="costCode">Cost Code:</label>
     69                                </td>
     70                                <td valign="top" class="value ${hasErrors(bean:assetInstance,field:'costCode','errors')}">
     71                                    <input type="text" id="costCode" name="costCode" value="${fieldValue(bean:assetInstance,field:'costCode')}"/>
     72                                </td>
     73                            </tr>
     74                       
     75                            <tr class="prop">
     76                                <td valign="top" class="name">
    6877                                    <label for="description">Description:</label>
    6978                                </td>
Note: See TracChangeset for help on using the changeset viewer.