aboutsummaryrefslogtreecommitdiffstats
path: root/root/admin/account_group.tt
blob: c9031e1fe7b4a4da811d472b1d5df3559d924200 (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
<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>

<hr />

<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>

<hr />