<% if @group.users.any? %>
<%= l(:label_user) %> |
|
<% @group.users.sort.each do |user| %>
<%= link_to_user user %> |
<%= delete_link group_user_path(@group, :user_id => user), :remote => true %>
|
<% end %>
<% else %>
<%= l(:label_no_data) %>
<% end %>
<%= form_for(@group, :remote => true, :url => group_users_path(@group),
:html => {:method => :post}) do |f| %>
<% end %>