comparison app/views/groups/.svn/text-base/_users.html.erb.svn-base @ 441:cbce1fd3b1b7 redmine-1.2

Update to Redmine 1.2-stable branch (Redmine SVN rev 6000)
author Chris Cannam
date Mon, 06 Jun 2011 14:24:13 +0100
parents 94944d00e43c
children
comparison
equal deleted inserted replaced
245:051f544170fe 441:cbce1fd3b1b7
22 <p class="nodata"><%= l(:label_no_data) %></p> 22 <p class="nodata"><%= l(:label_no_data) %></p>
23 <% end %> 23 <% end %>
24 </div> 24 </div>
25 25
26 <div class="splitcontentright"> 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 <% if users.any? %> 28 <% if users.any? %>
29 <% remote_form_for(:group, @group, :url => {:controller => 'groups', :action => 'add_users', :id => @group}, :method => :post) do |f| %> 29 <% remote_form_for(:group, @group, :url => {:controller => 'groups', :action => 'add_users', :id => @group}, :method => :post) do |f| %>
30 <fieldset><legend><%=l(:label_user_new)%></legend> 30 <fieldset><legend><%=l(:label_user_new)%></legend>
31 31
32 <p><%= label_tag "user_search", l(:label_user_search) %><%= text_field_tag 'user_search', nil %></p> 32 <p><%= label_tag "user_search", l(:label_user_search) %><%= text_field_tag 'user_search', nil %></p>