Commit 2753cea7 authored by Andrey Kumanyaev's avatar Andrey Kumanyaev

Add variable form in user section

parent 25c57637
......@@ -2,8 +2,8 @@
.span3
= render 'people_filter'
.span9
- if @project && can?(current_user, :manage_group, @group)
= render "new_member"
- if can?(current_user, :manage_group, @group)
= render (@project ? "new_member" : "new_group_member")
.ui-box
%h5
Team
......@@ -17,4 +17,4 @@
%span.cgray= user.email
- if @group.owner == user
%span.btn.btn-small.disabled.right Group Owner
= render "new_group_member"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment