1 2 3
- if groups.any? - groups.each_with_index do |group, i| = render "shared/groups/group", group: group