source: trunk/grails-app/views/systemSection/show.gsp @ 118

Last change on this file since 118 was 118, checked in by gav, 15 years ago

First commit of Asset domain, including domain-classes, controllers, views and bootstrap.

File size: 4.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 SystemSection</title>
8    </head>
9    <body>
10        <div class="nav">
11            <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span>
12            <span class="menuButton"><g:link class="list" action="list">SystemSection List</g:link></span>
13            <span class="menuButton"><g:link class="create" action="create">New SystemSection</g:link></span>
14        </div>
15        <div class="body">
16            <h1>Show SystemSection</h1>
17            <g:if test="${flash.message}">
18            <div class="message">${flash.message}</div>
19            </g:if>
20            <div class="dialog">
21                <table>
22                    <tbody>
23
24                   
25                        <tr class="prop">
26                            <td valign="top" class="name">Id:</td>
27                           
28                            <td valign="top" class="value">${fieldValue(bean:systemSectionInstance, field:'id')}</td>
29                           
30                        </tr>
31                   
32                        <tr class="prop">
33                            <td valign="top" class="name">Asset Types:</td>
34                           
35                            <td  valign="top" style="text-align:left;" class="value">
36                                <ul>
37                                <g:each var="a" in="${systemSectionInstance.assetTypes}">
38                                    <li><g:link controller="assetType" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li>
39                                </g:each>
40                                </ul>
41                            </td>
42                           
43                        </tr>
44                   
45                        <tr class="prop">
46                            <td valign="top" class="name">Description:</td>
47                           
48                            <td valign="top" class="value">${fieldValue(bean:systemSectionInstance, field:'description')}</td>
49                           
50                        </tr>
51                   
52                        <tr class="prop">
53                            <td valign="top" class="name">Is Active:</td>
54                           
55                            <td valign="top" class="value">${fieldValue(bean:systemSectionInstance, field:'isActive')}</td>
56                           
57                        </tr>
58                   
59                        <tr class="prop">
60                            <td valign="top" class="name">Life Plans:</td>
61                           
62                            <td  valign="top" style="text-align:left;" class="value">
63                                <ul>
64                                <g:each var="l" in="${systemSectionInstance.lifePlans}">
65                                    <li><g:link controller="lifePlan" action="show" id="${l.id}">${l?.encodeAsHTML()}</g:link></li>
66                                </g:each>
67                                </ul>
68                            </td>
69                           
70                        </tr>
71                   
72                        <tr class="prop">
73                            <td valign="top" class="name">Name:</td>
74                           
75                            <td valign="top" class="value">${fieldValue(bean:systemSectionInstance, field:'name')}</td>
76                           
77                        </tr>
78                   
79                    </tbody>
80                </table>
81            </div>
82            <div class="buttons">
83                <g:form>
84                    <input type="hidden" name="id" value="${systemSectionInstance?.id}" />
85                    <span class="button"><g:actionSubmit class="edit" value="Edit" /></span>
86                    <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span>
87                </g:form>
88            </div>
89        </div>
90    </body>
91</html>
Note: See TracBrowser for help on using the repository browser.