Changeset 175 for trunk/grails-app/views/inventoryStore
- Timestamp:
- Oct 29, 2009, 8:30:58 PM (15 years ago)
- Location:
- trunk/grails-app/views/inventoryStore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/inventoryStore/edit.gsp
r151 r175 50 50 <tr class="prop"> 51 51 <td valign="top" class="name"> 52 <label for="inventoryLocations">Inventory Locations:</label> 53 </td> 54 <td valign="top" class="value ${hasErrors(bean:inventoryStoreInstance,field:'inventoryLocations','errors')}"> 55 56 <ul> 57 <g:each var="i" in="${inventoryStoreInstance?.inventoryLocations?}"> 58 <li><g:link controller="inventoryLocation" action="show" id="${i.id}">${i?.encodeAsHTML()}</g:link></li> 59 </g:each> 60 </ul> 61 <g:link controller="inventoryLocation" params="['inventoryStore.id':inventoryStoreInstance?.id]" action="create">Add InventoryLocation</g:link> 62 63 </td> 64 </tr> 65 66 <tr class="prop"> 67 <td valign="top" class="name"> 52 68 <label for="isActive">Is Active:</label> 53 69 </td> … … 66 82 </tr> 67 83 68 <tr class="prop">69 <td valign="top" class="name">70 <label for="storeLocations">Store Locations:</label>71 </td>72 <td valign="top" class="value ${hasErrors(bean:inventoryStoreInstance,field:'storeLocations','errors')}">73 74 <ul>75 <g:each var="s" in="${inventoryStoreInstance?.storeLocations?}">76 <li><g:link controller="storeLocation" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li>77 </g:each>78 </ul>79 <g:link controller="storeLocation" params="['inventoryStore.id':inventoryStoreInstance?.id]" action="create">Add StoreLocation</g:link>80 81 </td>82 </tr>83 84 84 </tbody> 85 85 </table> -
trunk/grails-app/views/inventoryStore/show.gsp
r151 r175 45 45 46 46 <tr class="prop"> 47 <td valign="top" class="name">Inventory Locations:</td> 48 49 <td valign="top" style="text-align:left;" class="value"> 50 <ul> 51 <g:each var="i" in="${inventoryStoreInstance.inventoryLocations}"> 52 <li><g:link controller="inventoryLocation" action="show" id="${i.id}">${i?.encodeAsHTML()}</g:link></li> 53 </g:each> 54 </ul> 55 </td> 56 57 </tr> 58 59 <tr class="prop"> 47 60 <td valign="top" class="name">Is Active:</td> 48 61 … … 55 68 56 69 <td valign="top" class="value"><g:link controller="site" action="show" id="${inventoryStoreInstance?.site?.id}">${inventoryStoreInstance?.site?.encodeAsHTML()}</g:link></td> 57 58 </tr>59 60 <tr class="prop">61 <td valign="top" class="name">Store Locations:</td>62 63 <td valign="top" style="text-align:left;" class="value">64 <ul>65 <g:each var="s" in="${inventoryStoreInstance.storeLocations}">66 <li><g:link controller="storeLocation" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li>67 </g:each>68 </ul>69 </td>70 70 71 71 </tr>
Note: See TracChangeset
for help on using the changeset viewer.