summaryrefslogtreecommitdiff
path: root/app/views/projects/labels/_label.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-08-13 19:47:03 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-08-13 19:47:03 +0300
commit540596b7b5bf0e107fafbc6041d9318125c3cef8 (patch)
treed310c2893b37d459e2f0771393fc6169f58d78f4 /app/views/projects/labels/_label.html.haml
parentd8b769ec740f9e6d47c3885d99796e4ca9337cbc (diff)
downloadgitlab-ce-540596b7b5bf0e107fafbc6041d9318125c3cef8.tar.gz
Remove labels with ajax request
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/projects/labels/_label.html.haml')
-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 725bf852078..03a8f0921b7 100644
--- a/app/views/projects/labels/_label.html.haml
+++ b/app/views/projects/labels/_label.html.haml
@@ -7,4 +7,4 @@
- if can? current_user, :admin_label, @project
= link_to 'Edit', edit_project_label_path(@project, label), class: 'btn'
- = link_to 'Remove', project_label_path(@project, label), class: 'btn btn-remove', method: :delete, data: {confirm: "Remove this label? Are you sure?"}
+ = link_to 'Remove', project_label_path(@project, label), class: 'btn btn-remove remove-row', method: :delete, remote: true, data: {confirm: "Remove this label? Are you sure?"}