Changeset 164 for trunk/grails-app/views/person
- Timestamp:
- Oct 23, 2009, 9:49:35 AM (15 years ago)
- Location:
- trunk/grails-app/views/person
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/person/create.gsp
r150 r164 93 93 94 94 <tr class="prop"> 95 <td valign="top" class="name"> 96 <label for="department">Department:</label> 97 </td> 98 <td valign="top" class="value ${hasErrors(bean:person,field:'department','errors')}"> 99 <g:select optionKey="id" from="${Department.list()}" name="department.id" value="${person?.department?.id}" noSelection="['null':'']"></g:select> 100 </td> 101 </tr> 102 103 <tr class="prop"> 104 <td valign="top" class="name"> 105 <label for="personGroups">Groups:</label> 106 </td> 107 <td valign="top" class="value ${hasErrors(bean:person,field:'personGroups','errors')}"> 108 <g:select name="personGroups" 109 from="${PersonGroup.list()}" 110 size="5" multiple="yes" optionKey="id" 111 value="${person?.personGroups}" /> 112 113 </td> 114 </tr> 115 116 <tr class="prop"> 95 117 <td valign="top" class="name" align="left">Authorities:</td> 96 118 </tr> -
trunk/grails-app/views/person/edit.gsp
r150 r164 100 100 101 101 <tr class="prop"> 102 <td valign="top" class="name"> 103 <label for="department">Department:</label> 104 </td> 105 <td valign="top" class="value ${hasErrors(bean:person,field:'department','errors')}"> 106 <g:select optionKey="id" from="${Department.list()}" name="department.id" value="${person?.department?.id}" noSelection="['null':'']"></g:select> 107 </td> 108 </tr> 109 110 <tr class="prop"> 111 <td valign="top" class="name"> 112 <label for="personGroups">Groups:</label> 113 </td> 114 <td valign="top" class="value ${hasErrors(bean:person,field:'personGroups','errors')}"> 115 <g:select name="personGroups" 116 from="${PersonGroup.list()}" 117 size="5" multiple="yes" optionKey="id" 118 value="${person?.personGroups}" /> 119 120 </td> 121 </tr> 122 123 <tr class="prop"> 102 124 <td valign="top" class="name" align="left">Authorities:</td> 103 125 </tr> -
trunk/grails-app/views/person/show.gsp
r150 r164 65 65 66 66 <tr class="prop"> 67 <td valign="top" class="name">Department:</td> 68 <td valign="top" class="value">${person.department}</td> 69 </tr> 70 71 <tr class="prop"> 72 <td valign="top" class="name">Groups:</td> 73 <td valign="top" class="value"> 74 <ul> 75 <g:each in="${person.personGroups}" var='group'> 76 <li>${group}</li> 77 </g:each> 78 </ul> 79 </td> 80 </tr> 81 82 <tr class="prop"> 67 83 <td valign="top" class="name">Authorities:</td> 68 84 <td valign="top" class="value">
Note: See TracChangeset
for help on using the changeset viewer.