diff options
| author | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-08-07 16:31:47 +0200 |
|---|---|---|
| committer | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-08-07 16:31:47 +0200 |
| commit | 1b8fb79287839d9784ae729f5aa9e246948b0f17 (patch) | |
| tree | 2167b462abd7092ed06060837d43d10d9508a36f | |
| parent | db65499e26d6bc0c882f4855fe0e376bb1df3e6d (diff) | |
| download | gitlab-ce-zj-project-templates.tar.gz | |
Fix HAML lint errorszj-project-templates
| -rw-r--r-- | app/views/projects/_project_templates.html.haml | 7 |
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 |
