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

11 lines
525 B
Text
Raw Normal View History

2017-08-07 10:31:47 -04: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 06:56:40 -04:00
Blank
- Gitlab::ProjectTemplate.all.each do |template|
2017-08-07 10:31:47 -04:00
.btn
%input{ type: "radio", autocomplete: "off", name: "project[template_name]", id: template.name, value: template.name }
= custom_icon(template.logo)
2017-07-30 06:56:40 -04:00
= template.title