_label.html.haml 411 Bytes
Newer Older
Valery Sizov's avatar
Valery Sizov committed
1
%li{id: dom_id(label)}
Tap's avatar
Tap committed
2
  .label-row
3
    = render_colored_label(label, tooltip: false)
Tap's avatar
Tap committed
4 5 6 7
    = 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?"}