.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" } = icon('file-o') Blank - 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 %div.btn %input{ type: "radio", autocomplete: "off", name: "project_templates", id: template.name } = image_tag(template.logo_path) = template.title