Revision 442:753f1380d6bc app/views/groups/.svn/text-base

View differences:

app/views/groups/.svn/text-base/_users.html.erb.svn-base
24 24
</div>
25 25

  
26 26
<div class="splitcontentright">
27
<% users = User.active.find(:all, :limit => 100) - @group.users %>
27
<% users = User.active.not_in_group(@group).all(:limit => 100) %>
28 28
<% if users.any? %>
29 29
  <% remote_form_for(:group, @group, :url => {:controller => 'groups', :action => 'add_users', :id => @group}, :method => :post) do |f| %>
30 30
    <fieldset><legend><%=l(:label_user_new)%></legend>

Also available in: Unified diff