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 .left.span2
%span %span
Admin access Admin access
= check_box_tag :group_admin = check_box_tag :group_admin, true, @team.admin?(user)
.right .right
- if current_user == user - if current_user == user
%span.btn.disabled This is you! %span.btn.disabled This is you!