Last change
on this file since 144 was
122,
checked in by gav, 16 years ago
|
Run generate-all on all controllers and views except Person and Authority.
Extensive work on Asset domain and application now compiles and runs well.
Update BootStrap? to suite.
|
File size:
2.4 KB
|
Rev | Line | |
---|
[118] | 1 | |
---|
| 2 | |
---|
| 3 | <html> |
---|
| 4 | <head> |
---|
| 5 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> |
---|
| 6 | <meta name="layout" content="main" /> |
---|
[122] | 7 | <title>Create Period</title> |
---|
[118] | 8 | </head> |
---|
| 9 | <body> |
---|
| 10 | <div class="nav"> |
---|
| 11 | <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span> |
---|
[122] | 12 | <span class="menuButton"><g:link class="list" action="list">Period List</g:link></span> |
---|
[118] | 13 | </div> |
---|
| 14 | <div class="body"> |
---|
[122] | 15 | <h1>Create Period</h1> |
---|
[118] | 16 | <g:if test="${flash.message}"> |
---|
| 17 | <div class="message">${flash.message}</div> |
---|
| 18 | </g:if> |
---|
[122] | 19 | <g:hasErrors bean="${periodInstance}"> |
---|
[118] | 20 | <div class="errors"> |
---|
[122] | 21 | <g:renderErrors bean="${periodInstance}" as="list" /> |
---|
[118] | 22 | </div> |
---|
| 23 | </g:hasErrors> |
---|
| 24 | <g:form action="save" method="post" > |
---|
| 25 | <div class="dialog"> |
---|
| 26 | <table> |
---|
| 27 | <tbody> |
---|
| 28 | |
---|
| 29 | <tr class="prop"> |
---|
| 30 | <td valign="top" class="name"> |
---|
[122] | 31 | <label for="isActive">Is Active:</label> |
---|
[118] | 32 | </td> |
---|
[122] | 33 | <td valign="top" class="value ${hasErrors(bean:periodInstance,field:'isActive','errors')}"> |
---|
| 34 | <g:checkBox name="isActive" value="${periodInstance?.isActive}" ></g:checkBox> |
---|
[118] | 35 | </td> |
---|
| 36 | </tr> |
---|
| 37 | |
---|
| 38 | <tr class="prop"> |
---|
| 39 | <td valign="top" class="name"> |
---|
[122] | 40 | <label for="period">Period:</label> |
---|
[118] | 41 | </td> |
---|
[122] | 42 | <td valign="top" class="value ${hasErrors(bean:periodInstance,field:'period','errors')}"> |
---|
| 43 | <input type="text" id="period" name="period" value="${fieldValue(bean:periodInstance,field:'period')}"/> |
---|
[118] | 44 | </td> |
---|
| 45 | </tr> |
---|
| 46 | |
---|
| 47 | </tbody> |
---|
| 48 | </table> |
---|
| 49 | </div> |
---|
| 50 | <div class="buttons"> |
---|
| 51 | <span class="button"><input class="save" type="submit" value="Create" /></span> |
---|
| 52 | </div> |
---|
| 53 | </g:form> |
---|
| 54 | </div> |
---|
| 55 | </body> |
---|
| 56 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.