

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <meta name="layout" content="main" />
        <title>AssignedPerson List</title>
    </head>
    <body>
        <div class="nav">
            <h1>Assigned Person List</h1>
        </div>
        <div class="body">
            <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>Task</th>
                   	    
                   	        <th>Person</th>
                   	    
                   	        <g:sortableColumn property="estimatedHour" title="Estimated Hour" />
                        
                   	        <g:sortableColumn property="estimatedMinute" title="Estimated Minute" />
                        
                        </tr>
                    </thead>
                    <tbody>
                    <g:each in="${assignedPersonInstanceList}" status="i" var="assignedPersonInstance">
                        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
                        
                            <td><g:link action="show" id="${assignedPersonInstance.id}">${fieldValue(bean:assignedPersonInstance, field:'id')}</g:link></td>
                        
                            <td>${fieldValue(bean:assignedPersonInstance, field:'task')}</td>
                        
                            <td>${fieldValue(bean:assignedPersonInstance, field:'person')}</td>
                        
                            <td>${fieldValue(bean:assignedPersonInstance, field:'estimatedHour')}</td>
                        
                            <td>${fieldValue(bean:assignedPersonInstance, field:'estimatedMinute')}</td>
                        
                        </tr>
                    </g:each>
                    </tbody>
                </table>
            </div>
            <div class="paginateButtons">
                <g:paginate total="${assignedPersonInstanceTotal}" />
            </div>
        </div>
    </body>
</html>
