Last change
on this file since 520 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.6 KB
|
Rev | Line | |
---|
[59] | 1 | <head> |
---|
[150] | 2 | <meta name="layout" content="main" /> |
---|
| 3 | <title>Create 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 | </div> |
---|
[59] | 11 | |
---|
[150] | 12 | <div class="body"> |
---|
[59] | 13 | |
---|
[150] | 14 | <h1>Create Authority</h1> |
---|
| 15 | <g:if test="${flash.message}"> |
---|
| 16 | <div class="message">${flash.message}</div> |
---|
| 17 | </g:if> |
---|
| 18 | <g:hasErrors bean="${authority}"> |
---|
| 19 | <div class="errors"> |
---|
| 20 | <g:renderErrors bean="${authority}" as="list" /> |
---|
| 21 | </div> |
---|
| 22 | </g:hasErrors> |
---|
[59] | 23 | |
---|
[150] | 24 | <g:form action="save"> |
---|
| 25 | <div class="dialog"> |
---|
| 26 | <table> |
---|
| 27 | <tbody> |
---|
| 28 | <tr class="prop"> |
---|
| 29 | <td valign="top" class="name"><label for="authority">Authority Name:</label></td> |
---|
| 30 | <td valign="top" class="value ${hasErrors(bean:authority,field:'authority','errors')}"> |
---|
| 31 | <input type="text" id="authority" name="authority" value="${authority?.authority?.encodeAsHTML()}"/> |
---|
| 32 | </td> |
---|
| 33 | </tr> |
---|
[59] | 34 | |
---|
[150] | 35 | <tr class="prop"> |
---|
| 36 | <td valign="top" class="name"><label for="description">Description:</label></td> |
---|
| 37 | <td valign="top" class="value ${hasErrors(bean:authority,field:'description','errors')}"> |
---|
| 38 | <input type="text" id="description" name="description" value="${authority?.description?.encodeAsHTML()}"/> |
---|
| 39 | </td> |
---|
| 40 | </tr> |
---|
| 41 | </tbody> |
---|
| 42 | </table> |
---|
| 43 | </div> |
---|
[59] | 44 | |
---|
[150] | 45 | <div class="buttons"> |
---|
| 46 | <span class="button"><input class="save" type="submit" value="Create" /></span> |
---|
| 47 | </div> |
---|
| 48 | </g:form> |
---|
| 49 | </div> |
---|
[59] | 50 | </body> |
---|
Note: See
TracBrowser
for help on using the repository browser.