Changeset 719 for trunk/grails-app/views/inventoryItemDetailed/create.gsp
- Timestamp:
- Nov 25, 2010, 8:47:00 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/inventoryItemDetailed/create.gsp
r718 r719 169 169 </tr> 170 170 171 <tr class="prop">172 <td valign="top" class="name">173 <label for="manufacturersPartNumber">Manufacturers Part Number:</label>174 </td>175 <td valign="top" class="value ${hasErrors(bean:inventoryItemInstance,field:'manufacturersPartNumber','errors')}">176 <input type="text" id="manufacturersPartNumber" name="manufacturersPartNumber" value="${fieldValue(bean:inventoryItemInstance,field:'manufacturersPartNumber')}"/>177 </td>178 </tr>179 180 <tr class="prop">181 <td valign="top" class="name">182 <label for="preferredManufacturer">Preferred Manufacturer:</label>183 </td>184 <td valign="top">185 <g:select optionKey="id" from="${manufacturers}" name="preferredManufacturer.id" value="${inventoryItemInstance?.preferredManufacturer?.id}" noSelection="['null':'--None--']"></g:select>186 187 <p><g:link controller="manufacturerDetailed" action="create">+Add Manufacturer</g:link></p>188 </td>189 </tr>190 191 <tr class="prop">192 <td valign="top" class="name">193 <label for="manufacturers">Alternate Manufacturers:</label>194 </td>195 <td valign="top" class="value ${hasErrors(bean:inventoryItemInstance,field:'alternateManufacturers','errors')}">196 <g:select id="alternateManufacturers" name="alternateManufacturers"197 from="${manufacturers}"198 size="5" multiple="yes" optionKey="id"199 value="${inventoryItemInstance.alternateManufacturers?.id}" noSelection="['':'--None--']" />200 </td>201 </tr>202 203 171 </tbody> 204 172 </table>
Note: See TracChangeset
for help on using the changeset viewer.