summaryrefslogtreecommitdiff
path: root/app/views/admin/labels/_label.html.haml
blob: 009a47dd517ab6f68b3234031061c8ab9dc79d77 (plain)
1
2
3
4
5
6
7
%li{ id: dom_id(label) }
  .label-row
    = render_colored_label(label, tooltip: false)
    = markdown_field(label, :description)
    .float-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?"}