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'
2015-12-23 02:04:40 +05:30
= 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?"}