| 1 |  | 
|---|
| 2 |  | 
|---|
| 3 | <html> | 
|---|
| 4 | <head> | 
|---|
| 5 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | 
|---|
| 6 | <meta name="layout" content="main" /> | 
|---|
| 7 | <title>Create PurchasingGroup</title> | 
|---|
| 8 | <nav:resources override="true"/> | 
|---|
| 9 | </head> | 
|---|
| 10 | <body> | 
|---|
| 11 | <div class="nav"> | 
|---|
| 12 | <nav:renderSubItems group="navAlt"/> | 
|---|
| 13 | </div> | 
|---|
| 14 | <div class="body"> | 
|---|
| 15 | <g:render template="/shared/messages" /> | 
|---|
| 16 | <g:hasErrors bean="${purchasingGroupInstance}"> | 
|---|
| 17 | <div class="errors"> | 
|---|
| 18 | <g:renderErrors bean="${purchasingGroupInstance}" as="list" /> | 
|---|
| 19 | </div> | 
|---|
| 20 | </g:hasErrors> | 
|---|
| 21 | <g:form action="save" method="post" > | 
|---|
| 22 | <div class="dialog"> | 
|---|
| 23 | <table> | 
|---|
| 24 | <tbody> | 
|---|
| 25 |  | 
|---|
| 26 | <tr class="prop"> | 
|---|
| 27 | <td valign="top" class="name"> | 
|---|
| 28 | <label for="name">Name:</label> | 
|---|
| 29 | </td> | 
|---|
| 30 | <td valign="top" class="value ${hasErrors(bean:purchasingGroupInstance,field:'name','errors')}"> | 
|---|
| 31 | <input type="text" maxlength="50" id="name" name="name" value="${fieldValue(bean:purchasingGroupInstance,field:'name')}"/> | 
|---|
| 32 | </td> | 
|---|
| 33 | </tr> | 
|---|
| 34 |  | 
|---|
| 35 | <tr class="prop"> | 
|---|
| 36 | <td valign="top" class="name"> | 
|---|
| 37 | <label for="description">Description:</label> | 
|---|
| 38 | </td> | 
|---|
| 39 | <td valign="top" class="value ${hasErrors(bean:purchasingGroupInstance,field:'description','errors')}"> | 
|---|
| 40 | <input type="text" maxlength="100" id="description" name="description" value="${fieldValue(bean:purchasingGroupInstance,field:'description')}"/> | 
|---|
| 41 | </td> | 
|---|
| 42 | </tr> | 
|---|
| 43 |  | 
|---|
| 44 | <tr class="prop"> | 
|---|
| 45 | <td valign="top" class="name"> | 
|---|
| 46 | <label for="isActive">Is Active:</label> | 
|---|
| 47 | </td> | 
|---|
| 48 | <td valign="top" class="value ${hasErrors(bean:purchasingGroupInstance,field:'isActive','errors')}"> | 
|---|
| 49 | <g:checkBox name="isActive" value="${purchasingGroupInstance?.isActive}" ></g:checkBox> | 
|---|
| 50 | </td> | 
|---|
| 51 | </tr> | 
|---|
| 52 |  | 
|---|
| 53 | </tbody> | 
|---|
| 54 | </table> | 
|---|
| 55 | </div> | 
|---|
| 56 | <div class="buttons"> | 
|---|
| 57 | <span class="button"><input class="save" type="submit" value="Create" /></span> | 
|---|
| 58 | </div> | 
|---|
| 59 | </g:form> | 
|---|
| 60 | </div> | 
|---|
| 61 | </body> | 
|---|
| 62 | </html> | 
|---|