BigW Consortium Gitlab

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