diff options
Diffstat (limited to 'app/views/projects/new.html.haml')
-rw-r--r-- | app/views/projects/new.html.haml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/projects/new.html.haml b/app/views/projects/new.html.haml index 4e4738ebd25..511adf37b39 100644 --- a/app/views/projects/new.html.haml +++ b/app/views/projects/new.html.haml @@ -16,8 +16,8 @@ = render 'new_project_fields', f: f, project_name_id: "blank-project-name" #create-from-template-pane.tab-pane - .gl-card.gl-my-5 - .gl-card-body + = render Pajamas::CardComponent.new(card_options: { class: 'gl-my-5' }) do |c| + = c.body do %div - contributing_templates_url = 'https://gitlab.com/gitlab-org/project-templates/contributing' - link_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: contributing_templates_url } @@ -30,7 +30,7 @@ #import-project-pane.tab-pane.js-toggle-container - if import_sources_enabled? - = render 'import_project_pane' + = render 'import_project_pane', destination_namespace_id: @namespace&.id - else .nothing-here-block %h4= s_('ProjectsNew|No import options available') |