| [122] | 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 AssetExtendedAttribute</title>          | 
|---|
 | 8 |     </head> | 
|---|
 | 9 |     <body> | 
|---|
 | 10 |         <div class="nav"> | 
|---|
 | 11 |             <span class="menuButton"><g:link class="list" action="list">AssetExtendedAttribute List</g:link></span> | 
|---|
 | 12 |         </div> | 
|---|
 | 13 |         <div class="body"> | 
|---|
 | 14 |             <h1>Create AssetExtendedAttribute</h1> | 
|---|
 | 15 |             <g:if test="${flash.message}"> | 
|---|
 | 16 |             <div class="message">${flash.message}</div> | 
|---|
 | 17 |             </g:if> | 
|---|
 | 18 |             <g:hasErrors bean="${assetExtendedAttributeInstance}"> | 
|---|
 | 19 |             <div class="errors"> | 
|---|
 | 20 |                 <g:renderErrors bean="${assetExtendedAttributeInstance}" as="list" /> | 
|---|
 | 21 |             </div> | 
|---|
 | 22 |             </g:hasErrors> | 
|---|
 | 23 |             <g:form action="save" method="post" > | 
|---|
 | 24 |                 <div class="dialog"> | 
|---|
 | 25 |                     <table> | 
|---|
 | 26 |                         <tbody> | 
|---|
 | 27 |                          | 
|---|
 | 28 |                             <tr class="prop"> | 
|---|
 | 29 |                                 <td valign="top" class="name"> | 
|---|
 | 30 |                                     <label for="assetExtendedAttributeType">Asset Extended Attribute Type:</label> | 
|---|
 | 31 |                                 </td> | 
|---|
 | 32 |                                 <td valign="top" class="value ${hasErrors(bean:assetExtendedAttributeInstance,field:'assetExtendedAttributeType','errors')}"> | 
|---|
 | 33 |                                     <g:select optionKey="id" from="${AssetExtendedAttributeType.list()}" name="assetExtendedAttributeType.id" value="${assetExtendedAttributeInstance?.assetExtendedAttributeType?.id}" ></g:select> | 
|---|
 | 34 |                                 </td> | 
|---|
 | 35 |                             </tr>  | 
|---|
 | 36 |                          | 
|---|
 | 37 |                             <tr class="prop"> | 
|---|
 | 38 |                                 <td valign="top" class="name"> | 
|---|
| [124] | 39 |                                     <label for="asset">Asset:</label> | 
|---|
| [122] | 40 |                                 </td> | 
|---|
| [124] | 41 |                                 <td valign="top" class="value ${hasErrors(bean:assetExtendedAttributeInstance,field:'asset','errors')}"> | 
|---|
 | 42 |                                     <g:select optionKey="id" from="${Asset.list()}" name="asset.id" value="${assetExtendedAttributeInstance?.asset?.id}" ></g:select> | 
|---|
| [122] | 43 |                                 </td> | 
|---|
 | 44 |                             </tr>  | 
|---|
 | 45 |                          | 
|---|
 | 46 |                             <tr class="prop"> | 
|---|
 | 47 |                                 <td valign="top" class="name"> | 
|---|
 | 48 |                                     <label for="isActive">Is Active:</label> | 
|---|
 | 49 |                                 </td> | 
|---|
 | 50 |                                 <td valign="top" class="value ${hasErrors(bean:assetExtendedAttributeInstance,field:'isActive','errors')}"> | 
|---|
 | 51 |                                     <g:checkBox name="isActive" value="${assetExtendedAttributeInstance?.isActive}" ></g:checkBox> | 
|---|
 | 52 |                                 </td> | 
|---|
 | 53 |                             </tr>  | 
|---|
 | 54 |                          | 
|---|
 | 55 |                             <tr class="prop"> | 
|---|
 | 56 |                                 <td valign="top" class="name"> | 
|---|
 | 57 |                                     <label for="value">Value:</label> | 
|---|
 | 58 |                                 </td> | 
|---|
 | 59 |                                 <td valign="top" class="value ${hasErrors(bean:assetExtendedAttributeInstance,field:'value','errors')}"> | 
|---|
 | 60 |                                     <input type="text" id="value" name="value" value="${fieldValue(bean:assetExtendedAttributeInstance,field:'value')}"/> | 
|---|
 | 61 |                                 </td> | 
|---|
 | 62 |                             </tr>  | 
|---|
 | 63 |                          | 
|---|
 | 64 |                         </tbody> | 
|---|
 | 65 |                     </table> | 
|---|
 | 66 |                 </div> | 
|---|
 | 67 |                 <div class="buttons"> | 
|---|
 | 68 |                     <span class="button"><input class="save" type="submit" value="Create" /></span> | 
|---|
 | 69 |                 </div> | 
|---|
 | 70 |             </g:form> | 
|---|
 | 71 |         </div> | 
|---|
 | 72 |     </body> | 
|---|
 | 73 | </html> | 
|---|