Changeset 273 for trunk/grails-app/views/site
- Timestamp:
- Jan 15, 2010, 1:18:09 PM (15 years ago)
- Location:
- trunk/grails-app/views/site
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/site/edit.gsp
r268 r273 58 58 <tr class="prop"> 59 59 <td valign="top" class="name"> 60 <label for="inventoryStores">Inventory Stores:</label> 61 </td> 62 <td valign="top" class="value ${hasErrors(bean:siteInstance,field:'inventoryStores','errors')}"> 63 64 <ul> 65 <g:each var="i" in="${siteInstance?.inventoryStores?}"> 66 <li><g:link controller="inventoryStore" action="show" id="${i.id}">${i?.encodeAsHTML()}</g:link></li> 67 </g:each> 68 </ul> 69 <g:link controller="inventoryStore" params="['site.id':siteInstance?.id]" action="create">Add InventoryStore</g:link> 70 71 </td> 72 </tr> 73 74 <tr class="prop"> 75 <td valign="top" class="name"> 60 76 <label for="sections">Sections:</label> 61 77 </td> -
trunk/grails-app/views/site/show.gsp
r268 r273 51 51 52 52 <tr class="prop"> 53 <td valign="top" class="name">Inventory Stores:</td> 54 55 <td valign="top" style="text-align:left;" class="value"> 56 <ul> 57 <g:each var="i" in="${siteInstance.inventoryStores}"> 58 <li><g:link controller="inventoryStore" action="show" id="${i.id}">${i?.encodeAsHTML()}</g:link></li> 59 </g:each> 60 </ul> 61 </td> 62 63 </tr> 64 65 <tr class="prop"> 53 66 <td valign="top" class="name">Sections:</td> 54 67
Note: See TracChangeset
for help on using the changeset viewer.