2009-01-14 12:46:01 +01:00
|
|
|
- for group in Group.find :all, :conditions => "type != 'Ordergroup'"
|
2009-01-06 11:49:19 +01:00
|
|
|
%h4= link_to_function group.name, "Element.toggle('group_#{group.id}')"
|
|
|
|
%ul{:style => "display:none"}[group]
|
|
|
|
- for user in group.users.find :all, :order => "nick"
|
2009-02-01 20:56:23 +01:00
|
|
|
%li= user.nick + " (#{user.ordergroup.name if user.ordergroup})"
|
2009-01-06 11:49:19 +01:00
|
|
|
|