_user.html.haml revision b515be3e0a2edc0aa9bf6b0ff078b5c6bce8499c
%li{'data-id' => user.user_id, 'data-type' => 'user'}
- if user.admin?
(admin)
- if show_admin_links
= link_to 'delete', [user.team, user], method: :delete, remote: true, confirm: 'really delete?'