Changeset 374 for trunk/grails-app/views/manufacturerDetailed/show.gsp
- Timestamp:
- Feb 18, 2010, 1:20:22 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/manufacturerDetailed/show.gsp
r178 r374 6 6 <meta name="layout" content="main" /> 7 7 <title>Show Manufacturer</title> 8 <nav:resources override="true"/> 8 9 </head> 9 10 <body> 10 11 <div class="nav"> 11 <span class="menuButton"><g:link class="list" action="list">Manufacturer List</g:link></span> 12 <span class="menuButton"><g:link class="create" action="create">New Manufacturer</g:link></span> 12 <nav:renderSubItems group="navAlt"/> 13 13 </div> 14 14 <div class="body"> 15 <h1>Show Manufacturer</h1>16 15 <g:if test="${flash.message}"> 17 16 <div class="message">${flash.message}</div> … … 30 29 31 30 <tr class="prop"> 32 <td valign="top" class="name"> Description:</td>31 <td valign="top" class="name">Name:</td> 33 32 34 <td valign="top" class="value">${fieldValue(bean:manufacturerInstance, field:' description')}</td>33 <td valign="top" class="value">${fieldValue(bean:manufacturerInstance, field:'name')}</td> 35 34 36 35 </tr> 37 36 38 37 <tr class="prop"> 39 <td valign="top" class="name"> Inventory Items:</td>38 <td valign="top" class="name">Description:</td> 40 39 41 <td valign="top" style="text-align:left;" class="value"> 42 <ul> 43 <g:each var="i" in="${manufacturerInstance.inventoryItems}"> 44 <li><g:link controller="inventoryItem" action="show" id="${i.id}">${i?.encodeAsHTML()}</g:link></li> 45 </g:each> 46 </ul> 47 </td> 40 <td valign="top" class="value">${fieldValue(bean:manufacturerInstance, field:'description')}</td> 48 41 49 42 </tr> … … 59 52 <td valign="top" class="name">Manufacturer Type:</td> 60 53 61 <td valign="top" class="value"><g:link controller="manufacturerType " action="show" id="${manufacturerInstance?.manufacturerType?.id}">${manufacturerInstance?.manufacturerType?.encodeAsHTML()}</g:link></td>54 <td valign="top" class="value"><g:link controller="manufacturerTypeDetailed" action="show" id="${manufacturerInstance?.manufacturerType?.id}">${manufacturerInstance?.manufacturerType?.encodeAsHTML()}</g:link></td> 62 55 63 56 </tr> 64 57 65 58 <tr class="prop"> 66 <td valign="top" class="name"> Name:</td>59 <td valign="top" class="name">Inventory Items:</td> 67 60 68 <td valign="top" class="value">${fieldValue(bean:manufacturerInstance, field:'name')}</td> 61 <td valign="top" style="text-align:left;" class="value"> 62 <ul> 63 <g:each var="i" in="${manufacturerInstance.inventoryItems}"> 64 <li><g:link controller="inventoryItemDetailed" action="show" id="${i.id}">${i?.encodeAsHTML()}</g:link></li> 65 </g:each> 66 </ul> 67 </td> 69 68 70 69 </tr>
Note: See TracChangeset
for help on using the changeset viewer.