gitlab-org--gitlab-foss/app/views/admin/labels/_label.html.haml

8 lines
395 B
Text
Raw Normal View History

2015-09-03 08:50:23 -04:00
%li{id: dom_id(label)}
.label-row
= render_colored_label(label)
= markdown(label.description, pipeline: :single_line)
.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?"}