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
RevLine 
[122]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">
[293]11            <h1>Show Extended Attribute</h1>
[122]12        </div>
13        <div class="body">
[413]14            <g:render template="/shared/messages" />
[122]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">
[292]28                            <td valign="top" class="name">Value:</td>
[122]29                           
[292]30                            <td valign="top" class="value">${fieldValue(bean:assetExtendedAttributeInstance, field:'value')}</td>
[122]31                           
32                        </tr>
33                   
34                        <tr class="prop">
[292]35                            <td valign="top" class="name">Is Active:</td>
[122]36                           
[292]37                            <td valign="top" class="value">${fieldValue(bean:assetExtendedAttributeInstance, field:'isActive')}</td>
[122]38                           
39                        </tr>
40                   
41                        <tr class="prop">
[292]42                            <td valign="top" class="name">Asset:</td>
[122]43                           
[293]44                            <td valign="top" class="value"><g:link controller="assetDetailed" action="show" id="${assetExtendedAttributeInstance?.asset?.id}">${assetExtendedAttributeInstance?.asset?.encodeAsHTML()}</g:link></td>
[122]45                           
46                        </tr>
47                   
48                        <tr class="prop">
[292]49                            <td valign="top" class="name">Extended Attribute Type:</td>
[122]50                           
[293]51                            <td valign="top" class="value"><g:link controller="extendedAttributeTypeDetailed" action="show" id="${assetExtendedAttributeInstance?.extendedAttributeType?.id}">${assetExtendedAttributeInstance?.extendedAttributeType?.encodeAsHTML()}</g:link></td>
[122]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.