Display actual user role (admin or not) in team members list

This commit is contained in:
Andrey Kumanyaev 2013-01-26 01:14:36 +04:00
parent b280c2f361
commit 890e774ddc

View file

@ -18,7 +18,7 @@
.left.span2
%span
Admin access
= check_box_tag :group_admin
= check_box_tag :group_admin, true, @team.admin?(user)
.right
- if current_user == user
%span.btn.disabled This is you!