summaryrefslogtreecommitdiffstats
path: root/app/views/groups/_users.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/groups/_users.html.erb')
-rw-r--r--app/views/groups/_users.html.erb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/groups/_users.html.erb b/app/views/groups/_users.html.erb
index d265c751f..5d10fe694 100644
--- a/app/views/groups/_users.html.erb
+++ b/app/views/groups/_users.html.erb
@@ -29,7 +29,8 @@
<div class="splitcontentright">
<% users = User.active.not_in_group(@group).all(:limit => 100) %>
<% if users.any? %>
- <% remote_form_for(@group, :url => group_users_path(@group), :html => {:method => :post}) do |f| %>
+ <%= form_for(@group, :remote => true, :url => group_users_path(@group),
+ :html => {:method => :post}) do |f| %>
<fieldset><legend><%=l(:label_user_new)%></legend>
<p><%= label_tag "user_search", l(:label_user_search) %><%= text_field_tag 'user_search', nil %></p>