gitlab-org--gitlab-foss/app/views/admin/labels/_label.html.haml
2015-12-03 13:21:30 +02:00

5 lines
316 B
Text

%li{id: dom_id(label)}
= render_colored_label(label)
.pull-right
= link_to 'Edit', edit_admin_label_path(label), class: 'btn btn-sm'
= link_to 'Delete', admin_label_path(label), class: 'btn btn-sm btn-remove remove-row', method: :delete, remote: true, data: {confirm: "Delete this label? Are you sure?"}