2020-05-25 09:04:54 -07:00
|
|
|
%li.list-group-item{ id: "list-#{list.name}" }
|
2023-01-04 07:12:43 -08:00
|
|
|
.d-flex
|
|
|
|
.flex-shrink-0
|
2020-05-25 09:04:54 -07:00
|
|
|
.custom-control.custom-checkbox
|
|
|
|
%input.custom-control-input{ type: :checkbox,
|
|
|
|
id: "listCheck#{list.id}",
|
|
|
|
name: 'gm-list-check',
|
|
|
|
data: { list: list.name, user: user.screen_name }, checked: user.member_of?(list), autocomplete: :off }
|
|
|
|
%label.custom-control-label{ for: "listCheck#{list.id}" }
|
2023-01-04 07:12:43 -08:00
|
|
|
.flex-grow-1
|
2020-05-25 09:04:54 -07:00
|
|
|
.list-group-item-heading= list.display_name
|
|
|
|
.list-group-item-text.text-muted
|
2022-07-27 14:13:36 -07:00
|
|
|
%span{ id: "#{list.name}-members", data: { count: list.members.count } }= t(".members", count: list.members.count)
|
2020-05-25 09:04:54 -07:00
|
|
|
·
|
2022-07-26 17:07:19 -07:00
|
|
|
%a.text-danger#delete-list{ href: "#", data: { list: list.name } }
|
2020-05-25 09:04:54 -07:00
|
|
|
%i.fa.fa-close
|
2022-07-26 17:07:19 -07:00
|
|
|
= t("voc.delete")
|