% if flash[:error] %>
<%= flash[:error] %>
<%= javascript_tag("new Effect.Highlight('flashError', {delay:0.8, duration:1});") -%><% end %>
<% memberships = @group.memberships
if memberships.size != 0 %>
<% for membership in memberships %>
-
<%= link_to membership.user.nick, :action => "showUser", :id => membership.user %> (<%=h membership.user.first_name + ' ' + membership.user.last_name %>)
| <%= link_to_remote 'entfernen', :url => {:action => 'dropMember', :group => @group, :membership => membership},
:before => "Element.show('loader')",
:success => "Element.hide('loader')" %>
<% end %>
<% else %>
<%= @group.name %> hat keine Mitglieder.
<% end %>