

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <meta name="layout" content="main" />
        <title>TaskModification List</title>
    </head>
    <body>
        <div class="nav">
            <span class="menuButton"><g:link class="create" action="create">New TaskModification</g:link></span>
        </div>
        <div class="body">
            <h1>TaskModification 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>Person</th>
                   	    
                   	        <th>Task Modification Type</th>
                   	    
                   	        <th>Task</th>
                   	    
                   	        <g:sortableColumn property="date" title="Date" />
                        
                   	        <g:sortableColumn property="comment" title="Comment" />
                        
                        </tr>
                    </thead>
                    <tbody>
                    <g:each in="${taskModificationInstanceList}" status="i" var="taskModificationInstance">
                        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
                        
                            <td><g:link action="show" id="${taskModificationInstance.id}">${fieldValue(bean:taskModificationInstance, field:'id')}</g:link></td>
                        
                            <td>${fieldValue(bean:taskModificationInstance, field:'person')}</td>
                        
                            <td>${fieldValue(bean:taskModificationInstance, field:'taskModificationType')}</td>
                        
                            <td>${fieldValue(bean:taskModificationInstance, field:'task')}</td>
                        
                            <td>${fieldValue(bean:taskModificationInstance, field:'date')}</td>
                        
                            <td>${fieldValue(bean:taskModificationInstance, field:'comment')}</td>
                        
                        </tr>
                    </g:each>
                    </tbody>
                </table>
            </div>
            <div class="paginateButtons">
                <g:paginate total="${taskModificationInstanceTotal}" />
            </div>
        </div>
    </body>
</html>
