Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConnor Shea <connor.james.shea@gmail.com>2016-06-15 21:55:05 +0300
committerConnor Shea <connor.james.shea@gmail.com>2016-06-15 21:55:05 +0300
commit190685741c47aff3ec53fb55308a36b46d1ef8d2 (patch)
treefcbe2ca90e1a5308b87301e8306336d71bc8d958 /app/views/projects/new.html.haml
parentfbc91599a8fcd8bcd189d81a136b1bcc2c989fae (diff)
Move group creation text to below the 'Project owner' field.
Diffstat (limited to 'app/views/projects/new.html.haml')
-rw-r--r--app/views/projects/new.html.haml10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/projects/new.html.haml b/app/views/projects/new.html.haml
index 47a2f2889d8..7e8b8f83467 100644
--- a/app/views/projects/new.html.haml
+++ b/app/views/projects/new.html.haml
@@ -17,17 +17,17 @@
.col-sm-10
= f.select :namespace_id, namespaces_options(:current_user), {}, {class: 'select2 js-select-namespace', tabindex: 1}
+ - 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
+
.form-group
= f.label :path, class: 'control-label' do
Project name
.col-sm-10
= 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