diff options
author | James Lopez <james@jameslopez.es> | 2016-04-26 11:59:00 +0300 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-04-26 11:59:00 +0300 |
commit | 28b0208e93cbc949e1c733c60ec577740d824623 (patch) | |
tree | 18942ada0f3e1be0d478ba2b115cfab7a745dd58 /app/views/projects/new.html.haml | |
parent | 4037a738945631c5fc58c464d4a9b12e9448387a (diff) |
refactoring, mainly UI stuff to follow other import actions
Diffstat (limited to 'app/views/projects/new.html.haml')
-rw-r--r-- | app/views/projects/new.html.haml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/views/projects/new.html.haml b/app/views/projects/new.html.haml index cf24c4cacf3..d4bb57aafc7 100644 --- a/app/views/projects/new.html.haml +++ b/app/views/projects/new.html.haml @@ -91,14 +91,12 @@ %span Repo by URL - if gitlab_project_import_enabled? - = link_to "#", class: 'btn import_gitlab_project', onclick: '$(".js-toggle-content2").toggle();' do + = link_to new_import_gitlab_project_path, class: 'btn import_gitlab_project' do %i.fa.fa-gitlab %span GitLab project .js-toggle-content.hide = render "shared/import_form", f: f - .js-toggle-content2.hide - = render "project_import_form", f: f .prepend-botton-10 |