aboutsummaryrefslogtreecommitdiffstats
path: root/root/admin/account_group.tt
blob: cc24c03ed8c0645a3f6006456801c9e5dd821122 (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
28
29
30
31
32
33
<div align="left">
<h2>[% l('Add user [_1] to a new group', uid) %]</h2>

<form method="post" action="">
    <input type='hidden' name='uid' value='[% uid %]' />
    <input type='hidden' name='op' value='add' />
    <select name='group'>
        [% FOREACH group IN newgroups %]
            <option value='[% group.cn %]'>[% group.cn %]</option>
        [% END %]
    </select>
    <input type='submit' value='[% l('Add') %]' />
</form>
</div>
<hr />

[% IF groups.size %]
<div align="left">
<h2>[% l('Delete user [_1] from an existing group:', uid) %] </h2>

<form method="post" action="">
    <input type='hidden' name='uid' value='[% uid %]' />
    <input type='hidden' name='op' value='delete' />
    <select name='group'>
        [% FOREACH group IN groups %]
            <option value='[% group.cn %]'>[% group.cn %]</option>
        [% END %]
    </select>
    <input type='submit' value='[% l('Delete') %]' />
</form>
</div>
<hr />
[% END %]