source: trunk/grails-app/views/assignedPersonDetailed/_groupsForPerson.gsp @ 875

Last change on this file since 875 was 255, checked in by gav, 15 years ago

Add ajax feature to show groups for person when creating and editing assignedPerson.
Remove the list and show detailed views since they are no longer used.

File size: 685 bytes
Line 
1
2<table>
3    <tbody>
4        <tr class="prop">
5            <td valign="top" class="name">
6                <label for="groups">Groups for person (${person.encodeAsHTML()}):</label>
7            </td>
8            <td valign="top" class="value">
9                <ul>
10                    <g:if test="${groupsForPerson.size() > 0}">
11                        <g:each var="a" in="${groupsForPerson}">
12                            <li>${a?.encodeAsHTML()}</li>
13                        </g:each>
14                    </g:if>
15                    <g:else>
16                        <li>None</li>
17                    </g:else>
18                </ul>
19            </td>
20        </tr>
21    </tbody>
22</table>
Note: See TracBrowser for help on using the repository browser.