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

Last change on this file since 889 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
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"><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>
[59]12
[150]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>
[59]21
[150]22                <tr class="prop">
23                    <td valign="top" class="name">ID:</td>
24                    <td valign="top" class="value">${authority.id}</td>
25                </tr>
[59]26
[150]27                <tr class="prop">
28                    <td valign="top" class="name">Authority Name:</td>
29                    <td valign="top" class="value">${authority.authority}</td>
30                </tr>
[59]31
[150]32                <tr class="prop">
33                    <td valign="top" class="name">Description:</td>
34                    <td valign="top" class="value">${authority.description}</td>
35                </tr>
[59]36
[150]37                <tr class="prop">
38                    <td valign="top" class="name">Persons:</td>
39                    <td valign="top" class="value">${authority.persons}</td>
40                </tr>
[59]41
[150]42            </tbody>
43            </table>
44        </div>
[59]45
[150]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>
[59]53
[150]54    </div>
[59]55
56</body>
Note: See TracBrowser for help on using the repository browser.