Display actual user role (admin or not) in team members list
This commit is contained in:
parent
b280c2f361
commit
890e774ddc
1 changed files with 1 additions and 1 deletions
|
@ -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!
|
||||
|
|
Loading…
Reference in a new issue