source: trunk/grails-app/views/unitOfMeasure/show.gsp @ 557

Last change on this file since 557 was 557, checked in by gav, 14 years ago

Generate-all UnitOfMeasure?.

File size: 3.2 KB
Line 
1
2
3<html>
4    <head>
5        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
6        <meta name="layout" content="main" />
7        <title>Show UnitOfMeasure</title>
8    </head>
9    <body>
10        <div class="nav">
11            <span class="menuButton"><g:link class="list" action="list">UnitOfMeasure List</g:link></span>
12            <span class="menuButton"><g:link class="create" action="create">New UnitOfMeasure</g:link></span>
13        </div>
14        <div class="body">
15            <h1>Show UnitOfMeasure</h1>
16            <g:render template="/shared/messages" />
17            <div class="dialog">
18                <table>
19                    <tbody>
20
21                   
22                        <tr class="prop">
23                            <td valign="top" class="name">Id:</td>
24                           
25                            <td valign="top" class="value">${fieldValue(bean:unitOfMeasureInstance, field:'id')}</td>
26                           
27                        </tr>
28                   
29                        <tr class="prop">
30                            <td valign="top" class="name">Name:</td>
31                           
32                            <td valign="top" class="value">${fieldValue(bean:unitOfMeasureInstance, field:'name')}</td>
33                           
34                        </tr>
35                   
36                        <tr class="prop">
37                            <td valign="top" class="name">Description:</td>
38                           
39                            <td valign="top" class="value">${fieldValue(bean:unitOfMeasureInstance, field:'description')}</td>
40                           
41                        </tr>
42                   
43                        <tr class="prop">
44                            <td valign="top" class="name">Inventory Items:</td>
45                           
46                            <td  valign="top" style="text-align:left;" class="value">
47                                <ul>
48                                <g:each var="i" in="${unitOfMeasureInstance.inventoryItems}">
49                                    <li><g:link controller="inventoryItem" action="show" id="${i.id}">${i?.encodeAsHTML()}</g:link></li>
50                                </g:each>
51                                </ul>
52                            </td>
53                           
54                        </tr>
55                   
56                        <tr class="prop">
57                            <td valign="top" class="name">Is Active:</td>
58                           
59                            <td valign="top" class="value">${fieldValue(bean:unitOfMeasureInstance, field:'isActive')}</td>
60                           
61                        </tr>
62                   
63                    </tbody>
64                </table>
65            </div>
66            <div class="buttons">
67                <g:form>
68                    <input type="hidden" name="id" value="${unitOfMeasureInstance?.id}" />
69                    <span class="button"><g:actionSubmit class="edit" value="Edit" /></span>
70                    <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span>
71                </g:form>
72            </div>
73        </div>
74    </body>
75</html>
Note: See TracBrowser for help on using the repository browser.