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

    r410 r422  
    5757                                    <label for="description">Description:</label>
    5858                                </td>
    59                                 <td valign="top">
    60                                     <input class="description ${hasErrors(bean:inventoryItemInstance,field:'description','errors')}"
    61                                                 type="text" id="description" name="description"
    62                                                 value="${fieldValue(bean:inventoryItemInstance,field:'description')}"/>
     59                                <td valign="top" class="value ${hasErrors(bean:inventoryItemInstance,field:'description','errors')}">
     60                                    <textarea rows="5" cols="40" name="description">${fieldValue(bean:inventoryItemInstance, field:'description')}</textarea>
     61                                </td>
     62                            </tr>
     63
     64                            <tr class="prop">
     65                                <td valign="top" class="name">
     66                                    <label for="comment">Comment:</label>
     67                                </td>
     68                                <td valign="top" class="value ${hasErrors(bean:inventoryItemInstance,field:'comment','errors')}">
     69                                    <textarea rows="5" cols="40" name="comment">${fieldValue(bean:inventoryItemInstance, field:'comment')}</textarea>
    6370                                </td>
    6471                            </tr>
Note: See TracChangeset for help on using the changeset viewer.