summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZ.J. van de Weg <git@zjvandeweg.nl>2017-08-07 16:31:47 +0200
committerZ.J. van de Weg <git@zjvandeweg.nl>2017-08-07 16:31:47 +0200
commit1b8fb79287839d9784ae729f5aa9e246948b0f17 (patch)
tree2167b462abd7092ed06060837d43d10d9508a36f
parentdb65499e26d6bc0c882f4855fe0e376bb1df3e6d (diff)
downloadgitlab-ce-zj-project-templates.tar.gz
Fix HAML lint errorszj-project-templates
-rw-r--r--app/views/projects/_project_templates.html.haml7
1 files changed, 3 insertions, 4 deletions
diff --git a/app/views/projects/_project_templates.html.haml b/app/views/projects/_project_templates.html.haml
index c091e62cb6e..21baf35f2ac 100644
--- a/app/views/projects/_project_templates.html.haml
+++ b/app/views/projects/_project_templates.html.haml
@@ -1,11 +1,10 @@
-
-.project-templates-buttons.import-buttons{ data: { toggle: "buttons" }}
- %div.btn.blank-option.active
+.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|
- %div.btn
+ .btn
%input{ type: "radio", autocomplete: "off", name: "project_templates", id: template.name }
= custom_icon(template.logo)
= template.title