source: trunk/grails-app/views/authority/show.gsp @ 154

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

Replace all deprecated "createLinkTo" links with "resource".

File size: 1.9 KB
Line 
1<head>
2    <meta name="layout" content="main" />
3    <title>Show Authority</title>
4</head>
5
6<body>
7
8    <div class="nav">
9        <span class="menuButton"><a class="home" href="${resource(dir:'')}">Home</a></span>
10        <span class="menuButton"><g:link class="list" action="list">Authority List</g:link></span>
11        <span class="menuButton"><g:link class="create" action="create">New Authority</g:link></span>
12    </div>
13
14    <div class="body">
15        <h1>Show Authority</h1>
16        <g:if test="${flash.message}">
17        <div class="message">${flash.message}</div>
18        </g:if>
19        <div class="dialog">
20            <table>
21            <tbody>
22
23                <tr class="prop">
24                    <td valign="top" class="name">ID:</td>
25                    <td valign="top" class="value">${authority.id}</td>
26                </tr>
27
28                <tr class="prop">
29                    <td valign="top" class="name">Authority Name:</td>
30                    <td valign="top" class="value">${authority.authority}</td>
31                </tr>
32
33                <tr class="prop">
34                    <td valign="top" class="name">Description:</td>
35                    <td valign="top" class="value">${authority.description}</td>
36                </tr>
37
38                <tr class="prop">
39                    <td valign="top" class="name">Persons:</td>
40                    <td valign="top" class="value">${authority.persons}</td>
41                </tr>
42
43            </tbody>
44            </table>
45        </div>
46
47        <div class="buttons">
48            <g:form>
49                <input type="hidden" name="id" value="${authority?.id}" />
50                <span class="button"><g:actionSubmit class="edit" value="Edit" /></span>
51                <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span>
52            </g:form>
53        </div>
54
55    </div>
56
57</body>
Note: See TracBrowser for help on using the repository browser.