2015-09-25 12:07:36 +05:30
|
|
|
%li{id: dom_id(label)}
|
2016-04-02 18:10:28 +05:30
|
|
|
.label-row
|
2016-06-02 11:05:42 +05:30
|
|
|
= render_colored_label(label, tooltip: false)
|
2016-04-02 18:10:28 +05:30
|
|
|
= 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?"}
|