Last change
on this file since 58 was
58,
checked in by gav, 15 years ago
|
Configure BootStrap? with latest concepts.
Install and setup Acegi plugin with custom views.
Test Fixture plugin in a test app but couldn't get it to work with Acegi encodePassword() so gave up.
|
File size:
1.6 KB
|
Rev | Line | |
---|
[58] | 1 | <head> |
---|
| 2 | <meta name="layout" content="main" /> |
---|
| 3 | <title>Create ${requestmapClassName}</title> |
---|
| 4 | </head> |
---|
| 5 | |
---|
| 6 | <body> |
---|
| 7 | |
---|
| 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">${requestmapClassName} List</g:link></span> |
---|
| 11 | </div> |
---|
| 12 | |
---|
| 13 | <div class="body"> |
---|
| 14 | <h1>Create ${requestmapClassName}</h1> |
---|
| 15 | <g:if test="\${flash.message}"> |
---|
| 16 | <div class="message">\${flash.message}</div> |
---|
| 17 | </g:if> |
---|
| 18 | <g:hasErrors bean="\${requestmap}"> |
---|
| 19 | <div class="errors"> |
---|
| 20 | <g:renderErrors bean="\${requestmap}" as="list" /> |
---|
| 21 | </div> |
---|
| 22 | </g:hasErrors> |
---|
| 23 | <g:form action="save"> |
---|
| 24 | <div class="dialog"> |
---|
| 25 | <table> |
---|
| 26 | <tbody> |
---|
| 27 | |
---|
| 28 | <tr class="prop"> |
---|
| 29 | <td valign="top" class="name"><label for="url">URL Pattern:</label></td> |
---|
| 30 | <td valign="top" class="value \${hasErrors(bean:requestmap,field:'url','errors')}"> |
---|
| 31 | <input type="text" id="url" name="url" value="\${requestmap.url?.encodeAsHTML()}"/> |
---|
| 32 | </td> |
---|
| 33 | </tr> |
---|
| 34 | |
---|
| 35 | <tr class="prop"> |
---|
| 36 | <td valign="top" class="name"><label for="configAttribute">${authorityClassName} (comma-delimited):</label></td> |
---|
| 37 | <td valign="top" class="value \${hasErrors(bean:requestmap,field:'configAttribute','errors')}"> |
---|
| 38 | <input type="text" id="configAttribute" name="configAttribute" value="\${requestmap.configAttribute?.encodeAsHTML()}"/> |
---|
| 39 | </td> |
---|
| 40 | </tr> |
---|
| 41 | |
---|
| 42 | </tbody> |
---|
| 43 | </table> |
---|
| 44 | </div> |
---|
| 45 | |
---|
| 46 | <div class="buttons"> |
---|
| 47 | <span class="button"><input class="save" type="submit" value="Create" /></span> |
---|
| 48 | </div> |
---|
| 49 | |
---|
| 50 | </g:form> |
---|
| 51 | |
---|
| 52 | </div> |
---|
| 53 | </body> |
---|
Note: See
TracBrowser
for help on using the repository browser.