BigW Consortium Gitlab

_project_templates.html.haml 525 Bytes
Newer Older
Z.J. van de Weg committed
1 2
.project-templates-buttons.import-buttons{ data: { toggle: "buttons" } }
  .btn.blank-option.active
3
    %input{ type: "radio",  autocomplete: "off", name: "project[template_name]", id: "blank", checked: "true", value: "" }
4
    = icon('file-o', class: 'btn-template-icon')
5
    Blank
6
  - Gitlab::ProjectTemplate.all.each do |template|
Z.J. van de Weg committed
7
    .btn
8
      %input{ type: "radio",  autocomplete: "off", name: "project[template_name]", id: template.name, value: template.name }
9
      = custom_icon(template.logo)
10
      = template.title