Changeset 397 for trunk/grails-app/views/person
- Timestamp:
- Feb 22, 2010, 6:29:13 PM (15 years ago)
- Location:
- trunk/grails-app/views/person
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/person/edit.gsp
r295 r397 98 98 99 99 <tr class="prop"> 100 <td valign="top" class="name"> 101 <label for="addresses">Addresses:</label> 102 </td> 103 <td valign="top" class="value"> 104 <ul> 105 <g:each var="i" in="${person?.addresses?}"> 106 <li><g:link controller="addressDetailed" action="show" id="${i.id}"> 107 ${i?.encodeAsHTML()} 108 </g:link></li> 109 </g:each> 110 </ul> 111 <g:link controller="addressDetailed" params="['person.id':person?.id]" action="create">Add Address</g:link> 112 </td> 113 </tr> 114 115 <tr class="prop"> 100 116 <td valign="top" class="name"><label for="employeeID">employee ID:</label></td> 101 117 <td valign="top" class="value ${hasErrors(bean:person,field:'employeeID','errors')}"> -
trunk/grails-app/views/person/show.gsp
r295 r397 60 60 61 61 <tr class="prop"> 62 <td valign="top" class="name">Addresses:</td> 63 64 <td valign="top" class="value"> 65 <ul> 66 <g:each var="i" in="${person.addresses}"> 67 <li><g:link controller="addressDetailed" action="show" id="${i.id}">${i?.encodeAsHTML()}</g:link></li> 68 </g:each> 69 </ul> 70 </td> 71 72 </tr> 73 74 <tr class="prop"> 62 75 <td valign="top" class="name">Employee ID:</td> 63 76 <td valign="top" class="value">${person.employeeID}</td>
Note: See TracChangeset
for help on using the changeset viewer.