%li{'data-id' => team_user.user_id, 'data-admin' => (team_user.admin ? 1 : 0), 'data-uri' => url_for([team_user.team, team_user]) }
.functions
= link_to 'edit', '#', rel: :edit
= link_to 'delete', '#', rel: :delete
= fancy_link team_user.user
- if team_user.admin?
(admin)