=link_toleave_profile_group_path(group),data: {confirm: "Are you sure you want to leave #{group.name} group?"},method: :delete,class: "btn-small btn grouped",title: 'Remove user from group'do
%i.icon-signout
Leave
-ifcan?(current_user,:destroy,user_group)
=link_toleave_profile_group_path(group),data: {confirm: leave_group_message(group.name)},method: :delete,class: "btn-small btn grouped",title: 'Remove user from group'do