Changeset 397 for trunk/grails-app/views/siteDetailed
- Timestamp:
- Feb 22, 2010, 6:29:13 PM (15 years ago)
- Location:
- trunk/grails-app/views/siteDetailed
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/siteDetailed/edit.gsp
r385 r397 73 73 </g:each> 74 74 </ul> 75 <g:link controller="inventoryStoreDetailed" params="['site.id':siteInstance?.id]" action="create">Add InventoryStore</g:link> 75 <g:link controller="inventoryStoreDetailed" params="['site.id':siteInstance?.id]" action="create">Add Inventory Store</g:link> 76 77 </td> 78 </tr> 79 80 <tr class="prop"> 81 <td valign="top" class="name"> 82 <label for="addresses">Addresses:</label> 83 </td> 84 <td valign="top" class="value ${hasErrors(bean:siteInstance,field:'addresses','errors')}"> 85 86 <ul> 87 <g:each var="i" in="${siteInstance?.addresses?}"> 88 <li><g:link controller="addressDetailed" action="show" id="${i.id}">${i?.encodeAsHTML()}</g:link></li> 89 </g:each> 90 </ul> 91 <g:link controller="addressDetailed" params="['site.id':siteInstance?.id]" action="create">Add Address</g:link> 76 92 77 93 </td> -
trunk/grails-app/views/siteDetailed/show.gsp
r385 r397 68 68 69 69 <tr class="prop"> 70 <td valign="top" class="name">Addresses:</td> 71 72 <td valign="top" class="value"> 73 <ul> 74 <g:each var="i" in="${siteInstance.addresses}"> 75 <li><g:link controller="addressDetailed" action="show" id="${i.id}">${i?.encodeAsHTML()}</g:link></li> 76 </g:each> 77 </ul> 78 </td> 79 80 </tr> 81 82 <tr class="prop"> 70 83 <td valign="top" class="name">Sections:</td> 71 84
Note: See TracChangeset
for help on using the changeset viewer.