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

11 lines
509 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
2017-07-31 12:33:10 -04:00
%input{ type: "radio", autocomplete: "off", name: "project_templates", id: "blank", checked: "true" }
= 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