Ignore:
Timestamp:
Jan 14, 2010, 10:51:03 PM (14 years ago)
Author:
gav
Message:

Refactor classes for asset tree refinement.
Regenerate views and controllers to suite.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/department/create.gsp

    r178 r268  
    3131                                </td>
    3232                                <td valign="top" class="value ${hasErrors(bean:departmentInstance,field:'name','errors')}">
    33                                     <input type="text" id="name" name="name" value="${fieldValue(bean:departmentInstance,field:'name')}"/>
     33                                    <input type="text" maxlength="50" id="name" name="name" value="${fieldValue(bean:departmentInstance,field:'name')}"/>
    3434                                </td>
    3535                            </tr>
     
    4040                                </td>
    4141                                <td valign="top" class="value ${hasErrors(bean:departmentInstance,field:'description','errors')}">
    42                                     <input type="text" id="description" name="description" value="${fieldValue(bean:departmentInstance,field:'description')}"/>
    43                                 </td>
    44                             </tr>
    45                        
    46                             <tr class="prop">
    47                                 <td valign="top" class="name">
    48                                     <label for="costCode">Cost Code:</label>
    49                                 </td>
    50                                 <td valign="top" class="value ${hasErrors(bean:departmentInstance,field:'costCode','errors')}">
    51                                     <input type="text" id="costCode" name="costCode" value="${fieldValue(bean:departmentInstance,field:'costCode')}"/>
     42                                    <input type="text" maxlength="100" id="description" name="description" value="${fieldValue(bean:departmentInstance,field:'description')}"/>
    5243                                </td>
    5344                            </tr>
Note: See TracChangeset for help on using the changeset viewer.