[19] | 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>PersonGroup List</title> |
---|
| 8 | </head> |
---|
| 9 | <body> |
---|
| 10 | <div class="nav"> |
---|
| 11 | <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span> |
---|
| 12 | <span class="menuButton"><g:link class="create" action="create">New PersonGroup</g:link></span> |
---|
| 13 | </div> |
---|
| 14 | <div class="body"> |
---|
| 15 | <h1>PersonGroup List</h1> |
---|
| 16 | <g:if test="${flash.message}"> |
---|
| 17 | <div class="message">${flash.message}</div> |
---|
| 18 | </g:if> |
---|
| 19 | <div class="list"> |
---|
| 20 | <table> |
---|
| 21 | <thead> |
---|
| 22 | <tr> |
---|
| 23 | |
---|
| 24 | <g:sortableColumn property="id" title="Id" /> |
---|
| 25 | |
---|
[35] | 26 | <g:sortableColumn property="name" title="Name" /> |
---|
| 27 | |
---|
[19] | 28 | <g:sortableColumn property="description" title="Description" /> |
---|
| 29 | |
---|
| 30 | <g:sortableColumn property="isActive" title="Is Active" /> |
---|
| 31 | |
---|
[25] | 32 | <th>Person Group Type</th> |
---|
[19] | 33 | |
---|
| 34 | </tr> |
---|
| 35 | </thead> |
---|
| 36 | <tbody> |
---|
| 37 | <g:each in="${personGroupInstanceList}" status="i" var="personGroupInstance"> |
---|
| 38 | <tr class="${(i % 2) == 0 ? 'odd' : 'even'}"> |
---|
| 39 | |
---|
| 40 | <td><g:link action="show" id="${personGroupInstance.id}">${fieldValue(bean:personGroupInstance, field:'id')}</g:link></td> |
---|
| 41 | |
---|
[35] | 42 | <td>${fieldValue(bean:personGroupInstance, field:'name')}</td> |
---|
| 43 | |
---|
[19] | 44 | <td>${fieldValue(bean:personGroupInstance, field:'description')}</td> |
---|
| 45 | |
---|
| 46 | <td>${fieldValue(bean:personGroupInstance, field:'isActive')}</td> |
---|
| 47 | |
---|
[25] | 48 | <td>${fieldValue(bean:personGroupInstance, field:'personGroupType')}</td> |
---|
[19] | 49 | |
---|
| 50 | </tr> |
---|
| 51 | </g:each> |
---|
| 52 | </tbody> |
---|
| 53 | </table> |
---|
| 54 | </div> |
---|
| 55 | <div class="paginateButtons"> |
---|
| 56 | <g:paginate total="${PersonGroup.count()}" /> |
---|
| 57 | </div> |
---|
| 58 | </div> |
---|
| 59 | </body> |
---|
| 60 | </html> |
---|