aboutsummaryrefslogtreecommitdiffstats
path: root/root/admin/group_modify.tt
diff options
context:
space:
mode:
authorBuchan Milne <buchan@mageia.org>2010-11-03 09:37:24 +0000
committerBuchan Milne <buchan@mageia.org>2010-11-03 09:37:24 +0000
commit41074cf0bc2da78eaffef8eca757a76d5e08fc34 (patch)
tree45b5be0346bcff5205e2afef46f316c3bf1f6984 /root/admin/group_modify.tt
parenta2976ea837ac446e02681402db35976fa3e4f380 (diff)
downloadidentity-41074cf0bc2da78eaffef8eca757a76d5e08fc34.tar
identity-41074cf0bc2da78eaffef8eca757a76d5e08fc34.tar.gz
identity-41074cf0bc2da78eaffef8eca757a76d5e08fc34.tar.bz2
identity-41074cf0bc2da78eaffef8eca757a76d5e08fc34.tar.xz
identity-41074cf0bc2da78eaffef8eca757a76d5e08fc34.zip
Add some account admin features
Diffstat (limited to 'root/admin/group_modify.tt')
-rw-r--r--root/admin/group_modify.tt22
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>