foodsoft/app/views/groups/_workgroup_members.haml
2009-01-06 11:49:19 +01:00

6 lines
No EOL
324 B
Text

- for group in Group.find :all, :conditions => "type != 'OrderGroup'"
%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"
%li= user.nick + " (#{user.find_ordergroup.name if user.find_ordergroup})"