Changeset 35 for trunk/src/grails-app/views/person/edit.gsp
- Timestamp:
- Jan 26, 2009, 5:26:11 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/grails-app/views/person/edit.gsp
r21 r35 34 34 </td> 35 35 <td valign="top" class="value ${hasErrors(bean:personInstance,field:'firstName','errors')}"> 36 <input type="text" id="firstName" name="firstName" value="${fieldValue(bean:personInstance,field:'firstName')}"/>36 <input type="text" maxlength="50" id="firstName" name="firstName" value="${fieldValue(bean:personInstance,field:'firstName')}"/> 37 37 </td> 38 38 </tr> … … 43 43 </td> 44 44 <td valign="top" class="value ${hasErrors(bean:personInstance,field:'lastName','errors')}"> 45 <input type="text" id="lastName" name="lastName" value="${fieldValue(bean:personInstance,field:'lastName')}"/>45 <input type="text" maxlength="50" id="lastName" name="lastName" value="${fieldValue(bean:personInstance,field:'lastName')}"/> 46 46 </td> 47 47 </tr> … … 99 99 <tr class="prop"> 100 100 <td valign="top" class="name"> 101 <label for="personGroup">Person Group:</label>102 </td>103 <td valign="top" class="value ${hasErrors(bean:personInstance,field:'personGroup','errors')}">104 <g:select optionKey="id" from="${PersonGroup.list()}" name="personGroup.id" value="${personInstance?.personGroup?.id}" ></g:select>105 </td>106 </tr>107 108 <tr class="prop">109 <td valign="top" class="name">110 101 <label for="personGroups">Person Groups:</label> 111 102 </td>
Note: See TracChangeset
for help on using the changeset viewer.