User can create group
This commit is contained in:
parent
d9027df5b5
commit
f6c482c06f
12 changed files with 117 additions and 31 deletions
|
@ -15,6 +15,12 @@
|
|||
%span Namespace
|
||||
.input
|
||||
= f.select :namespace_id, namespaces_options(params[:namespace_id] || :current_user), {}, {class: 'chosen'}
|
||||
- elsif current_user.can_create_group?
|
||||
.clearfix
|
||||
.input.light
|
||||
Need a group for several projects?
|
||||
= link_to new_group_path, class: "btn very_small" do
|
||||
Create a group
|
||||
%hr
|
||||
%p.padded
|
||||
New projects are private by default. You choose who can see the project and commit to repository.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue