foodsoft/app/views/shared/_workgroup_members.haml

6 lines
271 B
Text
Raw Normal View History

2011-05-15 22:06:54 +02:00
- for workgroup in Workgroup.all
%h4= link_to workgroup.name, "#", 'data-toggle-this' => "#workgroup_#{workgroup.id}"
2011-05-15 22:06:54 +02:00
%ul{:style => "display:none"}[workgroup]
- for user in workgroup.users.order("nick")
%li= "#{user.nick} (#{user.ordergroup.try(:name)})"
2009-01-06 11:49:19 +01:00