debian-mirror-gitlab/app/views/admin/labels/_label.html.haml

6 lines
316 B
Text
Raw Normal View History

2015-09-25 12:07:36 +05:30
%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 'Remove', admin_label_path(label), class: 'btn btn-sm btn-remove remove-row', method: :delete, remote: true, data: {confirm: "Remove this label? Are you sure?"}