summaryrefslogtreecommitdiff
path: root/app/views/shared/groups/_list.html.haml
blob: f50a6bd4d6ae6e227dc8c3b38c22832d4b82c0c9 (plain)
1
2
3
4
5
6
7
8
- if groups.any?
  - user = local_assigns[:user]

  %ul.content-list
    - groups.each_with_index do |group, i|
      = render "shared/groups/group", group: group, user: user
- else
  .nothing-here-block= s_("GroupsEmptyState|No groups found")