diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-12 15:49:37 -0500 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-12 15:49:37 -0500 |
commit | aefd75c044a44b525ee64e48f067b918b3c55109 (patch) | |
tree | 74d382834dddde188e7021786174652159ee95c9 /app/views/import/_githubish_status.html.haml | |
parent | c2cbc155741a2c7f0796c2347e679423ba924e15 (diff) | |
download | gitlab-ce-aefd75c044a44b525ee64e48f067b918b3c55109.tar.gz |
[skip ci] .input-group-btn into .input-group-prepend, .input-group-append
Diffstat (limited to 'app/views/import/_githubish_status.html.haml')
-rw-r--r-- | app/views/import/_githubish_status.html.haml | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/app/views/import/_githubish_status.html.haml b/app/views/import/_githubish_status.html.haml index 4c0822bfdf3..a25e86c65c2 100644 --- a/app/views/import/_githubish_status.html.haml +++ b/app/views/import/_githubish_status.html.haml @@ -46,13 +46,14 @@ %td.import-target %fieldset.row .input-group - .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) } : {} - = 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 + .project-path.input-group-prepend + .input-group-text + - 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) } : {} + = 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 %span.input-group-prepend .input-group-text / = text_field_tag :path, repo.name, class: "input-mini form-control", tabindex: 2, autofocus: true, required: true |