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

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

Resolve ticket #12 again.
Turn query cache on again since this did not resolve the problem.
Implement fix as per http://jira.codehaus.org/browse/GRAILS-5111, add flush:true to save.
Adjust templates to include above and remove home url.
Re-generate all non detailed views and controllers.
Manually add flush:true and remove home url to detailed views and controllers.

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