2020-05-10 03:53:30 -07:00
|
|
|
%li.list-group-item{ id: "group-#{group.name}" }
|
2015-01-17 09:24:36 -08:00
|
|
|
.media
|
2020-04-29 06:26:50 -07:00
|
|
|
.pull-left
|
|
|
|
.custom-control.custom-checkbox
|
2020-05-10 03:53:30 -07:00
|
|
|
%input.custom-control-input{ type: :checkbox,
|
|
|
|
id: "groupCheck#{group.id}",
|
|
|
|
name: 'gm-group-check',
|
|
|
|
data: { group: group.name, user: user.screen_name }, checked: user.member_of?(group), autocomplete: 'off' }
|
|
|
|
%label.custom-control-label{ for: "groupCheck#{group.id}" }
|
2015-01-17 09:24:36 -08:00
|
|
|
.media-body
|
|
|
|
.list-group-item-heading= group.display_name
|
2020-04-29 06:26:50 -07:00
|
|
|
.list-group-item-text.text-muted
|
2020-05-10 03:53:30 -07:00
|
|
|
%span{ id: "#{group.name}-members" }= group.members.count
|
2015-06-07 06:10:17 -07:00
|
|
|
= t 'views.modal.group.members'
|
|
|
|
·
|
2020-05-10 03:53:30 -07:00
|
|
|
%a.text-danger#delete-group{ href: '#', data: { group: group.name } }
|
2015-01-17 09:42:56 -08:00
|
|
|
%i.fa.fa-close
|
2015-06-07 06:10:17 -07:00
|
|
|
= t 'views.actions.delete'
|