summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-09-20 13:15:02 +0200
committerJames Lopez <james@jameslopez.es>2016-09-20 13:15:02 +0200
commitc00e79d4e3f83eac13146837244bbbcfa420bfd7 (patch)
tree589249a4f5aef7d48f0fe581400c16e4b405f9e5
parentc27a93de3cc0c7f09524ddd8d3c26bc11bd472b4 (diff)
downloadgitlab-ce-feature/github-edit-path.tar.gz
add missing spacefeature/github-edit-path
-rw-r--r--app/views/import/github/status.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/import/github/status.html.haml b/app/views/import/github/status.html.haml
index dd572453b91..4c721d40b55 100644
--- a/app/views/import/github/status.html.haml
+++ b/app/views/import/github/status.html.haml
@@ -50,7 +50,7 @@
.project-path.input-group-btn
- if current_user.can_select_namespace?
- selected = params[:namespace_id] || :current_user
- - opts = current_user.can_create_group? ? { extra_group: Group.new(name: repo.owner.login, path: repo.owner.login) }: {}
+ - opts = current_user.can_create_group? ? { extra_group: Group.new(name: repo.owner.login, path: repo.owner.login) } : {}
= select_tag :namespace_id, namespaces_options(selected, opts.merge({ display_path: true })), { class: 'select2 js-select-namespace', tabindex: 1 }
- else
= text_field_tag :path, current_user.namespace_path, class: "input-large form-control", tabindex: 1, disabled: true