aboutsummaryrefslogtreecommitdiffstats
path: root/root/admin/group_modify.tt
blob: 99ebff70472c69ab283f8e11351277f826e182d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<form method="post" action="">
    <input type='hidden' name='dn' value='[% group.dn %]'>
    <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 %]
                    <a href="[% c.uri_for('/admin/group_modify') %]/delete/[% group.dn %]/[% attr %]/[% value %]">[% l('delete') %]</a>
                    <br/>
                [% END %]
                <input name="[% attr %]" value="" />
                <input type="submit" value="[% l('Add') %]" />
            </td>
        </tr>
        [% END %]
    </table>
</form>