Changeset 150 for trunk/grails-app/views/authority/create.gsp
- Timestamp:
- Oct 9, 2009, 10:11:43 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/authority/create.gsp
r59 r150 1 1 <head> 2 3 2 <meta name="layout" content="main" /> 3 <title>Create Authority</title> 4 4 </head> 5 5 6 6 <body> 7 7 8 9 10 11 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 </div> 12 12 13 13 <div class="body"> 14 14 15 16 17 18 19 20 21 22 23 15 <h1>Create Authority</h1> 16 <g:if test="${flash.message}"> 17 <div class="message">${flash.message}</div> 18 </g:if> 19 <g:hasErrors bean="${authority}"> 20 <div class="errors"> 21 <g:renderErrors bean="${authority}" as="list" /> 22 </div> 23 </g:hasErrors> 24 24 25 26 27 28 29 30 31 32 33 34 25 <g:form action="save"> 26 <div class="dialog"> 27 <table> 28 <tbody> 29 <tr class="prop"> 30 <td valign="top" class="name"><label for="authority">Authority Name:</label></td> 31 <td valign="top" class="value ${hasErrors(bean:authority,field:'authority','errors')}"> 32 <input type="text" id="authority" name="authority" value="${authority?.authority?.encodeAsHTML()}"/> 33 </td> 34 </tr> 35 35 36 37 38 39 40 41 42 43 44 36 <tr class="prop"> 37 <td valign="top" class="name"><label for="description">Description:</label></td> 38 <td valign="top" class="value ${hasErrors(bean:authority,field:'description','errors')}"> 39 <input type="text" id="description" name="description" value="${authority?.description?.encodeAsHTML()}"/> 40 </td> 41 </tr> 42 </tbody> 43 </table> 44 </div> 45 45 46 47 48 49 50 46 <div class="buttons"> 47 <span class="button"><input class="save" type="submit" value="Create" /></span> 48 </div> 49 </g:form> 50 </div> 51 51 </body>
Note: See TracChangeset
for help on using the changeset viewer.