Changeset 35 for trunk/src/grails-app/views/person/create.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/create.gsp
r21 r35 32 32 </td> 33 33 <td valign="top" class="value ${hasErrors(bean:personInstance,field:'firstName','errors')}"> 34 <input type="text" id="firstName" name="firstName" value="${fieldValue(bean:personInstance,field:'firstName')}"/>34 <input type="text" maxlength="50" id="firstName" name="firstName" value="${fieldValue(bean:personInstance,field:'firstName')}"/> 35 35 </td> 36 36 </tr> … … 41 41 </td> 42 42 <td valign="top" class="value ${hasErrors(bean:personInstance,field:'lastName','errors')}"> 43 <input type="text" id="lastName" name="lastName" value="${fieldValue(bean:personInstance,field:'lastName')}"/>43 <input type="text" maxlength="50" id="lastName" name="lastName" value="${fieldValue(bean:personInstance,field:'lastName')}"/> 44 44 </td> 45 45 </tr> … … 63 63 </tr> 64 64 65 <tr class="prop">66 <td valign="top" class="name">67 <label for="personGroup">Person Group:</label>68 </td>69 <td valign="top" class="value ${hasErrors(bean:personInstance,field:'personGroup','errors')}">70 <g:select optionKey="id" from="${PersonGroup.list()}" name="personGroup.id" value="${personInstance?.personGroup?.id}" ></g:select>71 </td>72 </tr>73 74 65 </tbody> 75 66 </table>
Note: See TracChangeset
for help on using the changeset viewer.