Mercurial > hg > soundsoftware-site
comparison app/views/groups/.svn/text-base/_users.html.erb.svn-base @ 37:94944d00e43c
* Update to SVN trunk rev 4411
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Fri, 19 Nov 2010 13:24:41 +0000 |
parents | 513646585e45 |
children | cbce1fd3b1b7 |
comparison
equal
deleted
inserted
replaced
22:40f7cfd4df19 | 37:94944d00e43c |
---|---|
27 <% users = User.active.find(:all, :limit => 100) - @group.users %> | 27 <% users = User.active.find(:all, :limit => 100) - @group.users %> |
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><%= text_field_tag 'user_search', nil %></p> | 32 <p><%= label_tag "user_search", l(:label_user_search) %><%= text_field_tag 'user_search', nil %></p> |
33 <%= observe_field(:user_search, | 33 <%= observe_field(:user_search, |
34 :frequency => 0.5, | 34 :frequency => 0.5, |
35 :update => :users, | 35 :update => :users, |
36 :url => { :controller => 'groups', :action => 'autocomplete_for_user', :id => @group }, | 36 :url => { :controller => 'groups', :action => 'autocomplete_for_user', :id => @group }, |
37 :with => 'q') | 37 :with => 'q') |