Commit 183d9ed7 authored by Walmyr Lima e Silva Filho's avatar Walmyr Lima e Silva Filho

Merge branch 'qa-add-built-in-project-template-test-ce' into 'master'

Backport EE changes for built-in project template test

See merge request gitlab-org/gitlab-ce!32358
parents 8373ced9 d3293e49
- Gitlab::ProjectTemplate.all.each do |template|
.template-option.d-flex.align-items-center
.template-option.d-flex.align-items-center{ data: { qa_selector: 'template_option_row' } }
.logo.append-right-10.px-1
= image_tag template.logo, size: 32, class: "btn-template-icon icon-#{template.name}"
.description
......@@ -13,5 +13,5 @@
= _("Preview")
%label.btn.btn-success.template-button.choose-template.append-bottom-0{ for: template.name }
%input{ type: "radio", autocomplete: "off", name: "project[template_name]", id: template.name, value: template.name, data: { track_label: "template_use", track_property: template.name, track_event: "click_button", track_value: "" } }
%span
%span{ data: { qa_selector: 'use_template_button' } }
= _("Use template")
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment