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

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

Add params.message to Person create and edit views.
Code format to 4 spaces, no tabs.

File size: 1.9 KB
RevLine 
[59]1<head>
[150]2    <meta name="layout" content="main" />
3    <title>Show Authority</title>
[59]4</head>
5
6<body>
7
[150]8    <div class="nav">
9        <span class="menuButton"><a class="home" href="${createLinkTo(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>
[59]13
[150]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>
[59]22
[150]23                <tr class="prop">
24                    <td valign="top" class="name">ID:</td>
25                    <td valign="top" class="value">${authority.id}</td>
26                </tr>
[59]27
[150]28                <tr class="prop">
29                    <td valign="top" class="name">Authority Name:</td>
30                    <td valign="top" class="value">${authority.authority}</td>
31                </tr>
[59]32
[150]33                <tr class="prop">
34                    <td valign="top" class="name">Description:</td>
35                    <td valign="top" class="value">${authority.description}</td>
36                </tr>
[59]37
[150]38                <tr class="prop">
39                    <td valign="top" class="name">Persons:</td>
40                    <td valign="top" class="value">${authority.persons}</td>
41                </tr>
[59]42
[150]43            </tbody>
44            </table>
45        </div>
[59]46
[150]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>
[59]54
[150]55    </div>
[59]56
57</body>
Note: See TracBrowser for help on using the repository browser.