gitlab-org--gitlab-foss/app/views/projects/_project_templates.html.haml

11 lines
525 B
Plaintext
Raw Normal View History

2017-08-07 14:31:47 +00:00
.project-templates-buttons.import-buttons{ data: { toggle: "buttons" } }
.btn.blank-option.active
%input{ type: "radio", autocomplete: "off", name: "project[template_name]", id: "blank", checked: "true", value: "" }
= icon('file-o', class: 'btn-template-icon')
2017-07-30 10:56:40 +00:00
Blank
- Gitlab::ProjectTemplate.all.each do |template|
2017-08-07 14:31:47 +00:00
.btn
%input{ type: "radio", autocomplete: "off", name: "project[template_name]", id: template.name, value: template.name }
= custom_icon(template.logo)
2017-07-30 10:56:40 +00:00
= template.title