2009-01-13 19:01:56 +01:00
|
|
|
<ul>
|
|
|
|
<% for user in @group.non_members %>
|
|
|
|
<li>
|
|
|
|
<b><%= user.nick %></b> (<%=h user.first_name + ' ' + user.last_name %>)
|
2013-02-08 19:16:06 +01:00
|
|
|
| <%= link_to_remote t('.add'),
|
2009-02-02 17:28:59 +01:00
|
|
|
:url => { :controller => '/memberships', :action => 'add_member', :id => @group, :user_id => user },
|
2009-01-13 19:01:56 +01:00
|
|
|
:before => "Element.show('loader')",
|
|
|
|
:success => "Element.hide('loader')" %>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
2013-02-08 19:16:06 +01:00
|
|
|
</ul>
|