blob: f827e4539c7bdea7e51479e7d319c6ac217c3498 (
plain)
1
2
3
4
5
6
7
|
%li{id: dom_id(label)}
.label-row
= render_colored_label(label, tooltip: false)
= markdown(label.description, pipeline: :single_line)
.pull-right
= link_to '编辑', edit_admin_label_path(label), class: 'btn btn-sm'
= link_to '删除', admin_label_path(label), class: 'btn btn-sm btn-remove remove-row', method: :delete, remote: true, data: {confirm: "确定要删除此标记么?"}
|