_location_badge.html.haml 263 Bytes EditWeb IDE 1 2 3 4 5 6 7 8 9 10 11 12 - if controller.controller_path =~ /^groups/ - label = 'This group' - if controller.controller_path =~ /^projects/ - label = 'This project' - if label.present? %span.location-badge %i.location-text = label %a.remove-badge{href: '#'} x