Changeset 402 for trunk/grails-app/views/siteDetailed
- Timestamp:
- Feb 23, 2010, 2:07:15 PM (15 years ago)
- Location:
- trunk/grails-app/views/siteDetailed
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/siteDetailed/edit.gsp
r397 r402 77 77 </td> 78 78 </tr> 79 79 80 <tr class="prop"> 81 <td valign="top" class="name"> 82 <label for="addresses">Contact:</label> 83 </td> 84 <td valign="top" class="value"> 85 <ul> 86 <g:each var="i" in="${siteInstance?.contacts}"> 87 <li><g:link controller="contactDetailed" action="show" id="${i.id}"> 88 ${i?.encodeAsHTML()} 89 </g:link></li> 90 </g:each> 91 </ul> 92 <g:link controller="contactDetailed" params="['site.id':siteInstance?.id]" action="create">+Add Contact</g:link> 93 </td> 94 </tr> 95 80 96 <tr class="prop"> 81 97 <td valign="top" class="name"> … … 89 105 </g:each> 90 106 </ul> 91 <g:link controller="addressDetailed" params="['site.id':siteInstance?.id]" action="create"> Add Address</g:link>107 <g:link controller="addressDetailed" params="['site.id':siteInstance?.id]" action="create">+Add Address</g:link> 92 108 93 109 </td> -
trunk/grails-app/views/siteDetailed/show.gsp
r397 r402 66 66 67 67 </tr> 68 69 <tr class="prop"> 70 <td valign="top" class="name">Contact:</td> 71 72 <td valign="top" class="value"> 73 <ul> 74 <g:each var="i" in="${siteInstance.contacts}"> 75 <li><g:link controller="contactDetailed" action="show" id="${i.id}">${i?.encodeAsHTML()}</g:link></li> 76 </g:each> 77 </ul> 78 </td> 79 80 </tr> 68 81 69 82 <tr class="prop">
Note: See TracChangeset
for help on using the changeset viewer.