2017-07-30 06:56:40 -04:00
|
|
|
|
2017-07-31 12:33:10 -04:00
|
|
|
.project-templates-buttons.import-buttons{ data: { toggle: "buttons" }}
|
|
|
|
%div.btn.btn-default.active
|
|
|
|
%input{ type: "radio", autocomplete: "off", name: "project_templates", id: "blank", checked: "true" }
|
2017-07-30 06:56:40 -04:00
|
|
|
= icon('file-o')
|
|
|
|
Blank
|
2017-07-26 08:21:53 -04:00
|
|
|
- Gitlab::ProjectTemplate.all.each do |template|
|
|
|
|
-# The title should be the value posted to the controller, a pretty name to print would be
|
|
|
|
-# template.name
|
2017-07-31 12:33:10 -04:00
|
|
|
%div.btn
|
|
|
|
%input{ type: "radio", autocomplete: "off", name: "project_templates", id: template.name }
|
2017-07-30 06:56:40 -04:00
|
|
|
= image_tag(template.logo_path)
|
|
|
|
= template.title
|