

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <meta name="layout" content="main" />
        <title>AssetExtendedAttribute List</title>
    </head>
    <body>
        <div class="nav">
            <span class="menuButton"><a class="home" href="${resource(dir:'')}">Home</a></span>
            <span class="menuButton"><g:link class="create" action="create">New AssetExtendedAttribute</g:link></span>
        </div>
        <div class="body">
            <h1>AssetExtendedAttribute List</h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <div class="list">
                <table>
                    <thead>
                        <tr>
                        
                   	        <g:sortableColumn property="id" title="Id" />
                        
                   	        <th>Asset Extended Attribute Type</th>
                   	    
                   	        <th>Asset</th>
                   	    
                   	        <g:sortableColumn property="isActive" title="Is Active" />
                        
                   	        <g:sortableColumn property="value" title="Value" />

                            <th></th>
                        
                        </tr>
                    </thead>
                    <tbody>
                    <g:each in="${assetExtendedAttributeInstanceList}" status="i" var="assetExtendedAttributeInstance">
                        <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/assetExtendedAttributeDetailed/show/${assetExtendedAttributeInstance.id}"'/>

                        
                            <td><g:link action="show" id="${assetExtendedAttributeInstance.id}">${fieldValue(bean:assetExtendedAttributeInstance, field:'id')}</g:link></td>
                        
                            <td>${fieldValue(bean:assetExtendedAttributeInstance, field:'assetExtendedAttributeType')}</td>
                        
                            <td>${fieldValue(bean:assetExtendedAttributeInstance, field:'asset')}</td>
                        
                            <td>${fieldValue(bean:assetExtendedAttributeInstance, field:'isActive')}</td>
                        
                            <td>${fieldValue(bean:assetExtendedAttributeInstance, field:'value')}</td>

                            <td>
                                <g:link action="show" id="${assetExtendedAttributeInstance.id}">
                                    <img  src="${resource(dir:'images/skin',file:'database_table.png')}" alt="Show" />
                                </g:link>
                            </td>
                        
                        </tr>
                    </g:each>
                    </tbody>
                </table>
            </div>
            <div class="paginateButtons">
                <g:paginate total="${assetExtendedAttributeInstanceTotal}" />
            </div>
        </div>
    </body>
</html>
