Retrospring/app/views/modal/group/_item.haml

16 lines
747 B
Plaintext
Raw Normal View History

2015-01-17 09:57:23 -08:00
%li.list-group-item{id: "group-#{group.name}"}
2015-01-17 09:24:36 -08:00
.media
.pull-left
.custom-control.custom-checkbox
%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
.list-group-item-text.text-muted
2015-01-17 09:24:36 -08:00
%span{id: "#{group.name}-members"}= group.members.count
= t 'views.modal.group.members'
·
%a.text-danger#delete-group{href: "#", data: { group: group.name }}
2015-01-17 09:42:56 -08:00
%i.fa.fa-close
= t 'views.actions.delete'