diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-12-02 16:10:03 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-12-02 16:10:03 +0300 |
commit | 37ab1120c8a252aa29702ef141ff4ea1163e0e75 (patch) | |
tree | 0759dfd1ffff017780bf7a5851d5c064cdecb9d4 /app/views/projects/new.html.haml | |
parent | 6252fe4510376c917a690e655f8f4257132dde3e (diff) |
Move "Add Group" button higher up in new project form
Diffstat (limited to 'app/views/projects/new.html.haml')
-rw-r--r-- | app/views/projects/new.html.haml | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/app/views/projects/new.html.haml b/app/views/projects/new.html.haml index f6355ea6703..a4bd8d54af2 100644 --- a/app/views/projects/new.html.haml +++ b/app/views/projects/new.html.haml @@ -22,6 +22,11 @@ #{root_url}#{current_user.username}/ = f.text_field :path, placeholder: "my-awesome-project", class: "form-control", tabindex: 2, autofocus: true, required: true + - if current_user.can_create_group? + .help-block + Want to house several dependent projects under the same namespace? + = link_to "Create a group", new_group_path + - if import_sources_enabled? .project-import.js-toggle-container .form-group @@ -96,14 +101,6 @@ .form-actions = f.submit 'Create project', class: "btn btn-create project-submit", tabindex: 4 - - if current_user.can_create_group? - .pull-right - .light.inline - .space-right - Need a group for several dependent projects? - = link_to new_group_path, class: "btn" do - Create a group - .save-project-loader.hide .center %h2 |