source: LATMOS-Accounts-Web/root/html/ajax/user_to_group_form.tt @ 873

Last change on this file since 873 was 873, checked in by nanardon, 13 years ago
  • add filter to group list in user form
  • Property svn:keywords set to Id
File size: 488 bytes
Line 
1<!-- $Id -->
2[% modallow = c.model('Accounts').db.check_acl(user, 'memberOf', 'w') %]
3
4[% FOREACH g = othergroups %]
5[% IF modallow %]
6<form action="[% c.uri_for(username, subform) %]" method="POST">
7<input type="hidden" name="addgroup" value="[% g | html %]">
8<input type="image" src="[% c.uri_for('/static', 'icons', 'user-group-new.png')
9%]" width="24" height="24">
10[% END %]
11<a href="[% c.uri_for('/groups', g) %]">[% g | html %]</a><br>
12[% IF modallow %]
13</form>
14[% END %]
15[% END %]
Note: See TracBrowser for help on using the repository browser.