Changeset 720 for trunk/grails-app/views
- Timestamp:
- Nov 25, 2010, 9:08:43 AM (14 years ago)
- Location:
- trunk/grails-app/views/inventoryItemDetailed
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/inventoryItemDetailed/edit.gsp
r719 r720 220 220 <tr class="prop"> 221 221 <td valign="top" class="name"> 222 <label for="alternateItems">Alternate Items:</label>223 </td>224 <td valign="top" class="value ${hasErrors(bean:inventoryItemInstance,field:'alternateItems','errors')}">225 <g:select name="alternateItems"226 from="${possibleAlternateItems}"227 size="5" multiple="yes" optionKey="id"228 value="${inventoryItemInstance?.alternateItems.id}" noSelection="['':'--None--']"/>229 230 </td>231 </tr>232 233 <tr class="prop">234 <td valign="top" class="name">235 222 <label for="inventoryGroup">Inventory Group:</label> 236 223 </td> -
trunk/grails-app/views/inventoryItemDetailed/show.gsp
r719 r720 180 180 181 181 <tr class="prop"> 182 <td valign="top" class="name">Alternate Items:</td>183 184 <td valign="top" style="text-align:left;" class="value">185 <ul>186 <g:each var="a" in="${ inventoryItemInstance.alternateItems.sort { p1, p2 -> p1.name.compareToIgnoreCase(p2.name) } }">187 <li><g:link controller="inventoryItemDetailed" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li>188 </g:each>189 </ul>190 </td>191 </tr>192 193 <tr class="prop">194 182 <td valign="top" class="name">Spare For:</td> 195 183
Note: See TracChangeset
for help on using the changeset viewer.