2018-11-18 11:00:15 +05:30
|
|
|
- f ||= local_assigns[:f]
|
2018-03-17 18:26:18 +05:30
|
|
|
|
2021-03-11 19:13:27 +05:30
|
|
|
.project-templates-buttons
|
2022-05-07 20:08:51 +05:30
|
|
|
= gl_tabs_nav({ class: 'nav-links scrolling-tabs gl-display-flex gl-flex-grow-1 gl-flex-nowrap gl-border-0' }) do
|
|
|
|
= gl_tab_link_to '#built-in', tab_class: 'built-in-tab', class: 'active', data: { toggle: 'tab' } do
|
|
|
|
= _('Built-in')
|
|
|
|
= gl_tab_counter_badge Gitlab::ProjectTemplate.all.count + Gitlab::SampleDataTemplate.all.count
|
2021-01-03 14:25:43 +05:30
|
|
|
|
|
|
|
.tab-content
|
|
|
|
.project-templates-buttons.import-buttons.tab-pane.active#built-in
|
2021-03-11 19:13:27 +05:30
|
|
|
= render partial: 'projects/project_templates/template', collection: Gitlab::ProjectTemplate.all + Gitlab::SampleDataTemplate.all
|
2018-03-17 18:26:18 +05:30
|
|
|
|
2018-11-18 11:00:15 +05:30
|
|
|
.project-fields-form
|
|
|
|
= render 'projects/project_templates/project_fields_form'
|
2018-12-05 23:21:45 +05:30
|
|
|
= render 'projects/new_project_fields', f: f, project_name_id: "template-project-name", hide_init_with_readme: true, track_label: "create_from_template"
|