diff options
Diffstat (limited to 'root/admin/group_modify.tt')
-rw-r--r-- | root/admin/group_modify.tt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/root/admin/group_modify.tt b/root/admin/group_modify.tt new file mode 100644 index 0000000..01520d5 --- /dev/null +++ b/root/admin/group_modify.tt @@ -0,0 +1,22 @@ +<form method=post> +<input type='hidden' name='dn' value='[% group.dn %]'> +<table> +<tr> +<th>Attribute</th> +<th>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 %]">delete</a><br/> +[% END %] +<input name='[% attr %]'> +<input type='submit' value='Add'> +</td> +</tr> +[% END %] +</table> |