BigW Consortium Gitlab

_labels_row.html.haml 412 Bytes
Newer Older
Arinde Eniola committed
1
- labels.each do |label|
2
  %span.label-row.btn-group{ role: "group", aria: { label: label.name }, style: "color: #{text_color_for_bg(label.color)}" }
3
    = link_to_label(label, subject: @project, css_class: 'btn btn-transparent')
Phil Hughes committed
4
    %button.btn.btn-transparent.label-remove.js-label-filter-remove{ type: "button", style: "background-color: #{label.color};", data: { label: label.title } }
5
      = icon("times")