source: trunk/grails-app/views/assetExtendedAttributeDetailed/show.gsp

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

Change views to use shared messages: ExtendedAttribute views for Asset, AssetSubItem?, Department, Section, Site.

File size: 3.0 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 AssetExtendedAttribute</title>
8    </head>
9    <body>
10        <div class="nav">
11            <h1>Show Extended Attribute</h1>
12        </div>
13        <div class="body">
14            <g:render template="/shared/messages" />
15            <div class="dialog">
16                <table>
17                    <tbody>
18
19                   
20                        <tr class="prop">
21                            <td valign="top" class="name">Id:</td>
22                           
23                            <td valign="top" class="value">${fieldValue(bean:assetExtendedAttributeInstance, field:'id')}</td>
24                           
25                        </tr>
26                   
27                        <tr class="prop">
28                            <td valign="top" class="name">Value:</td>
29                           
30                            <td valign="top" class="value">${fieldValue(bean:assetExtendedAttributeInstance, field:'value')}</td>
31                           
32                        </tr>
33                   
34                        <tr class="prop">
35                            <td valign="top" class="name">Is Active:</td>
36                           
37                            <td valign="top" class="value">${fieldValue(bean:assetExtendedAttributeInstance, field:'isActive')}</td>
38                           
39                        </tr>
40                   
41                        <tr class="prop">
42                            <td valign="top" class="name">Asset:</td>
43                           
44                            <td valign="top" class="value"><g:link controller="assetDetailed" action="show" id="${assetExtendedAttributeInstance?.asset?.id}">${assetExtendedAttributeInstance?.asset?.encodeAsHTML()}</g:link></td>
45                           
46                        </tr>
47                   
48                        <tr class="prop">
49                            <td valign="top" class="name">Extended Attribute Type:</td>
50                           
51                            <td valign="top" class="value"><g:link controller="extendedAttributeTypeDetailed" action="show" id="${assetExtendedAttributeInstance?.extendedAttributeType?.id}">${assetExtendedAttributeInstance?.extendedAttributeType?.encodeAsHTML()}</g:link></td>
52                           
53                        </tr>
54                   
55                    </tbody>
56                </table>
57            </div>
58            <div class="buttons">
59                <g:form>
60                    <input type="hidden" name="id" value="${assetExtendedAttributeInstance?.id}" />
61                    <span class="button"><g:actionSubmit class="edit" value="Edit" /></span>
62                    <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span>
63                </g:form>
64            </div>
65        </div>
66    </body>
67</html>
Note: See TracBrowser for help on using the repository browser.