summaryrefslogtreecommitdiff
path: root/app/views/projects/_project_templates.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/_project_templates.html.haml')
-rw-r--r--app/views/projects/_project_templates.html.haml10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/views/projects/_project_templates.html.haml b/app/views/projects/_project_templates.html.haml
new file mode 100644
index 00000000000..21baf35f2ac
--- /dev/null
+++ b/app/views/projects/_project_templates.html.haml
@@ -0,0 +1,10 @@
+.project-templates-buttons.import-buttons{ data: { toggle: "buttons" } }
+ .btn.blank-option.active
+ %input{ type: "radio", autocomplete: "off", name: "project_templates", id: "blank", checked: "true" }
+ = icon('file-o', class: 'btn-template-icon')
+ Blank
+ - Gitlab::ProjectTemplate.all.each do |template|
+ .btn
+ %input{ type: "radio", autocomplete: "off", name: "project_templates", id: template.name }
+ = custom_icon(template.logo)
+ = template.title