blob: 7bb412dff0884e3ccc003523727bbcc018acb2f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
<form method="post" action="[% c.req.uri %]/add">
<input type='hidden' name='cn' value='[% group.cn %]'>
<table>
<tr>
<th>[% l('Attribute') %]</th>
<th>[% l('Value') %]</th>
</tr>
[% FOREACH attr IN group.attributes %]
<tr>
<td>[% attr %]</td>
<td>
[% FOREACH value IN group.get_value(attr) %]
[% value %]
[% IF attr == "member" OR attr =="owner" %]
<a href="[% c.uri_for('/admin/group_modify') %]/[% group.cn %]/delete/[% attr %]/[% value %]">[% l('delete') %]</a>
[% END %]
<br/>
[% END %]
[% IF attr == "member" OR attr == "owner" %]
<input name="[% attr %]" value="" />
<input type="submit" value="[% l('Add') %]" />
[% END %]
</td>
</tr>
[% END %]
</table>
</form>
|