Ignore:
Timestamp:
Mar 2, 2010, 4:34:12 PM (14 years ago)
Author:
gav
Message:

Add comment property to InventoryItem domain class and views.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/inventoryItemDetailed/show.gsp

    r405 r422  
    2828            </g:hasErrors>
    2929
     30            <div class="tabHeader">
     31                <h1 class="taskHeader">
     32                    ${inventoryItemInstance.name}
     33                </h1>
     34                ${fieldValue(bean:inventoryItemInstance, field:'description')}
     35            </div>
     36
     37            <br/>
     38
    3039            <richui:tabView id="tabView">
    3140
     
    105114
    106115                                    <tr class="prop">
    107                                         <td valign="top" class="name">Name:</td>
    108 
    109                                         <td valign="top" class="value">${fieldValue(bean:inventoryItemInstance, field:'name')}</td>
    110                                     </tr>
    111 
    112                                     <tr class="prop">
    113                                         <td valign="top" class="name">Description:</td>
    114 
    115                                         <td valign="top" class="value">${fieldValue(bean:inventoryItemInstance, field:'description')}</td>
     116                                        <td valign="top" class="name">Comment:</td>
     117
     118                                        <td valign="top" class="value">${fieldValue(bean:inventoryItemInstance, field:'comment')}</td>
    116119                                    </tr>
    117120
Note: See TracChangeset for help on using the changeset viewer.