

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <meta name="layout" content="main" />
        <title>MaintenanceAction List</title>
    </head>
    <body>
        <div class="nav">
            <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span>
            <span class="menuButton"><g:link class="create" action="create">New MaintenanceAction</g:link></span>
        </div>
        <div class="body">
            <h1>MaintenanceAction 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>Maintenance Policy</th>
                   	    
                   	        <th>System Section</th>
                   	    
                   	        <th>Asset</th>
                   	    
                   	        <th>Asset Type</th>
                   	    
                   	        <th>Assembly</th>
                   	    
                        </tr>
                    </thead>
                    <tbody>
                    <g:each in="${maintenanceActionInstanceList}" status="i" var="maintenanceActionInstance">
                        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
                        
                            <td><g:link action="show" id="${maintenanceActionInstance.id}">${fieldValue(bean:maintenanceActionInstance, field:'id')}</g:link></td>
                        
                            <td>${fieldValue(bean:maintenanceActionInstance, field:'maintenancePolicy')}</td>
                        
                            <td>${fieldValue(bean:maintenanceActionInstance, field:'systemSection')}</td>
                        
                            <td>${fieldValue(bean:maintenanceActionInstance, field:'asset')}</td>
                        
                            <td>${fieldValue(bean:maintenanceActionInstance, field:'assetType')}</td>
                        
                            <td>${fieldValue(bean:maintenanceActionInstance, field:'assembly')}</td>
                        
                        </tr>
                    </g:each>
                    </tbody>
                </table>
            </div>
            <div class="paginateButtons">
                <g:paginate total="${maintenanceActionInstanceTotal}" />
            </div>
        </div>
    </body>
</html>
