Changeset 168 for trunk/grails-app/views/person
- Timestamp:
- Oct 27, 2009, 8:33:04 AM (15 years ago)
- Location:
- trunk/grails-app/views/person
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/person/create.gsp
r166 r168 102 102 </td> 103 103 <td valign="top" class="value ${hasErrors(bean:person,field:'department','errors')}"> 104 <g:select optionKey="id" from="${Department.list()}" name="department.id" value="${person?.department?.id}" noSelection="['null':' ']"></g:select>104 <g:select optionKey="id" from="${Department.list()}" name="department.id" value="${person?.department?.id}" noSelection="['null':'--None--']"></g:select> 105 105 </td> 106 106 </tr> -
trunk/grails-app/views/person/edit.gsp
r166 r168 109 109 </td> 110 110 <td valign="top" class="value ${hasErrors(bean:person,field:'department','errors')}"> 111 <g:select optionKey="id" from="${Department.list()}" name="department.id" value="${person?.department?.id}" noSelection="['null':' ']"></g:select>111 <g:select optionKey="id" from="${Department.list()}" name="department.id" value="${person?.department?.id}" noSelection="['null':'--None--']"></g:select> 112 112 </td> 113 113 </tr>
Note: See TracChangeset
for help on using the changeset viewer.