Add variable form in user section

This commit is contained in:
Andrey Kumanyaev 2012-12-26 03:05:38 +04:00
parent 25c5763780
commit 2753cea75a

View file

@ -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"