Changeset 175 for trunk/grails-app/views/inventoryLocation/create.gsp
- Timestamp:
- Oct 29, 2009, 8:30:58 PM (15 years ago)
- Location:
- trunk/grails-app/views/inventoryLocation
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/inventoryLocation/create.gsp
r151 r175 5 5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> 6 6 <meta name="layout" content="main" /> 7 <title>Create StoreLocation</title>7 <title>Create InventoryLocation</title> 8 8 </head> 9 9 <body> 10 10 <div class="nav"> 11 11 <span class="menuButton"><a class="home" href="${resource(dir:'')}">Home</a></span> 12 <span class="menuButton"><g:link class="list" action="list"> StoreLocation List</g:link></span>12 <span class="menuButton"><g:link class="list" action="list">InventoryLocation List</g:link></span> 13 13 </div> 14 14 <div class="body"> 15 <h1>Create StoreLocation</h1>15 <h1>Create InventoryLocation</h1> 16 16 <g:if test="${flash.message}"> 17 17 <div class="message">${flash.message}</div> 18 18 </g:if> 19 <g:hasErrors bean="${ storeLocationInstance}">19 <g:hasErrors bean="${inventoryLocationInstance}"> 20 20 <div class="errors"> 21 <g:renderErrors bean="${ storeLocationInstance}" as="list" />21 <g:renderErrors bean="${inventoryLocationInstance}" as="list" /> 22 22 </div> 23 23 </g:hasErrors> … … 29 29 <tr class="prop"> 30 30 <td valign="top" class="name"> 31 <label for=" bin">Bin:</label>31 <label for="name">Name:</label> 32 32 </td> 33 <td valign="top" class="value ${hasErrors(bean: storeLocationInstance,field:'bin','errors')}">34 <input type="text" maxlength="50" id=" bin" name="bin" value="${fieldValue(bean:storeLocationInstance,field:'bin')}"/>33 <td valign="top" class="value ${hasErrors(bean:inventoryLocationInstance,field:'name','errors')}"> 34 <input type="text" maxlength="50" id="name" name="name" value="${fieldValue(bean:inventoryLocationInstance,field:'name')}"/> 35 35 </td> 36 36 </tr> … … 40 40 <label for="inventoryStore">Inventory Store:</label> 41 41 </td> 42 <td valign="top" class="value ${hasErrors(bean: storeLocationInstance,field:'inventoryStore','errors')}">43 <g:select optionKey="id" from="${InventoryStore.list()}" name="inventoryStore.id" value="${ storeLocationInstance?.inventoryStore?.id}" ></g:select>42 <td valign="top" class="value ${hasErrors(bean:inventoryLocationInstance,field:'inventoryStore','errors')}"> 43 <g:select optionKey="id" from="${InventoryStore.list()}" name="inventoryStore.id" value="${inventoryLocationInstance?.inventoryStore?.id}" ></g:select> 44 44 </td> 45 45 </tr> … … 49 49 <label for="isActive">Is Active:</label> 50 50 </td> 51 <td valign="top" class="value ${hasErrors(bean: storeLocationInstance,field:'isActive','errors')}">52 <g:checkBox name="isActive" value="${ storeLocationInstance?.isActive}" ></g:checkBox>51 <td valign="top" class="value ${hasErrors(bean:inventoryLocationInstance,field:'isActive','errors')}"> 52 <g:checkBox name="isActive" value="${inventoryLocationInstance?.isActive}" ></g:checkBox> 53 53 </td> 54 54 </tr>
Note: See TracChangeset
for help on using the changeset viewer.