summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-05-05 17:09:11 -0500
committerAlfredo Sumaran <alfredo@gitlab.com>2016-06-03 17:14:23 -0500
commit7ee3fc8080ede0e1c76f02a70cb242b961605a94 (patch)
treea2f0caf17b772b45fa258c9dea80365f7eb4aa43
parent90c2ab02b5a5f6a63e419c3616dc6f5b00c0a68d (diff)
downloadgitlab-ce-7ee3fc8080ede0e1c76f02a70cb242b961605a94.tar.gz
Expose label ID
-rw-r--r--app/views/projects/labels/_label.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/labels/_label.html.haml b/app/views/projects/labels/_label.html.haml
index 8bf544b8371..a36535458f7 100644
--- a/app/views/projects/labels/_label.html.haml
+++ b/app/views/projects/labels/_label.html.haml
@@ -1,4 +1,4 @@
-%li{id: dom_id(label)}
+%li{id: dom_id(label), :"data-id" => label.id}
= render "shared/label_row", label: label
.pull-info-right