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

Last change on this file since 1170 was 1170, checked in by nanardon, 12 years ago

fix icon

  • Property svn:keywords set to Id
File size: 575 bytes
Line 
1<!-- $Id -->
2[% modallow = c.model('Accounts').db.check_acl(user, 'memberOf', 'w') %]
3
4[% FOREACH g = othergroups %]
5[% IF loop.first %]
6<ul>
7[% END %]
8<li>
9[% IF modallow %]
10<form action="[% c.uri_for('/users', user.id, 'groups') %]" method="POST">
11<input type="hidden" name="addgroup" value="[% g | html %]">
12<input type="image" src="[% c.uri_for('/static', 'images', 'group_add.png')
13%]" width="24" height="24">
14[% END %]
15<a href="[% c.uri_for('/groups', g) %]">[% g | html %]</a><br>
16[% IF modallow %]
17</form>
18[% END %]
19</li>
20[% IF loop.last %]
21</ul>
22[% END %]
23[% END %]
Note: See TracBrowser for help on using the repository browser.