Changeset 402 for trunk/grails-app/views/supplierDetailed
- Timestamp:
- Feb 23, 2010, 2:07:15 PM (15 years ago)
- Location:
- trunk/grails-app/views/supplierDetailed
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/supplierDetailed/edit.gsp
r397 r402 66 66 <tr class="prop"> 67 67 <td valign="top" class="name"> 68 <label for="addresses">Contact:</label> 69 </td> 70 <td valign="top" class="value"> 71 <ul> 72 <g:each var="i" in="${supplierInstance?.contacts}"> 73 <li><g:link controller="contactDetailed" action="show" id="${i.id}"> 74 ${i?.encodeAsHTML()} 75 </g:link></li> 76 </g:each> 77 </ul> 78 <g:link controller="contactDetailed" params="['supplier.id':supplierInstance?.id]" action="create">+Add Contact</g:link> 79 </td> 80 </tr> 81 82 <tr class="prop"> 83 <td valign="top" class="name"> 68 84 <label for="addresses">Addresses:</label> 69 85 </td> … … 76 92 </g:each> 77 93 </ul> 78 <g:link controller="addressDetailed" params="['supplier.id':supplierInstance?.id]" action="create"> Add Address</g:link>94 <g:link controller="addressDetailed" params="['supplier.id':supplierInstance?.id]" action="create">+Add Address</g:link> 79 95 </td> 80 96 </tr> -
trunk/grails-app/views/supplierDetailed/show.gsp
r397 r402 55 55 56 56 </tr> 57 57 58 <tr class="prop"> 59 <td valign="top" class="name">Contact:</td> 60 61 <td valign="top" class="value"> 62 <ul> 63 <g:each var="i" in="${supplierInstance.contacts}"> 64 <li><g:link controller="contactDetailed" action="show" id="${i.id}">${i?.encodeAsHTML()}</g:link></li> 65 </g:each> 66 </ul> 67 </td> 68 69 </tr> 70 58 71 <tr class="prop"> 59 72 <td valign="top" class="name">Addresses:</td>
Note: See TracChangeset
for help on using the changeset viewer.