blob: c877b4b61b785846d94b137e8e27b17d7f76b05c (
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
|
Adding objectclass [% oc %] to dn [% dn %]
<form method="post" action="">
<input type="hidden" name="dn" value="[% dn %]" />
<input type="hidden" name="uid" value="[% uid %]" />
<input type="hidden" name="objectclass" value="[% oc %]" />
<table>
<tr>
<th>[% l('Attribute') %]</th>
<th>[% l('Value') %]</th>
</tr>
[% FOREACH attr IN must %]
[% IF attr != "objectClass" %]
<tr>
<td>[% attr %]</td>
<td><input name='[% attr %]'>
<span color='red'>*</span></td>
</tr>
[% END %]
[% END %]
[% FOREACH attr IN may %]
<tr>
<td>[% attr %]</td>
<td><input name='[% attr %]'></td>
</tr>
[% END %]
</table>
<p><input type="submit" value="Add" /></p>
</form>
|