foodsoft/app/views/shared/_workgroup_members.haml
2011-05-15 22:06:54 +02:00

6 lines
No EOL
271 B
Text

- for workgroup in Workgroup.all
%h4= link_to workgroup.name, "#", 'data-toggle_this' => "#workgroup_#{workgroup.id}"
%ul{:style => "display:none"}[workgroup]
- for user in workgroup.users.order("nick")
%li= "#{user.nick} (#{user.ordergroup.try(:name)})"