Commit 890e774ddc7bea953daddcce9f5677fafc30896a

Authored by Andrey Kumanyaev
1 parent b280c2f3

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

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/views/teams/members/_show.html.haml
... ... @@ -18,7 +18,7 @@
18 18 .left.span2
19 19 %span
20 20 Admin access
21   - = check_box_tag :group_admin
  21 + = check_box_tag :group_admin, true, @team.admin?(user)
22 22 .right
23 23 - if current_user == user
24 24 %span.btn.disabled This is you!
... ...