=link_to"Delete",namespace_project_label_path(@project.namespace,@project,label),title: "Delete",method: :delete,remote: true,data: {confirm: "Remove this label? Are you sure?"}
=link_tonamespace_project_label_path(@project.namespace,@project,label),title: "Delete",class: 'btn action-buttons remove-row',method: :delete,remote: true,data: {confirm: 'Remove this label? Are you sure?',toggle: 'tooltip'}do
=icon('pencil-square-o')
%i.fa.fa-trash-o
=link_tonamespace_project_label_path(@project.namespace,@project,label),title: "Delete",class: 'btn btn-transparent btn-action remove-row',method: :delete,remote: true,data: {confirm: "Remove this label? Are you sure?",toggle: "tooltip"}do
=link_tonamespace_project_tag_path(@project.namespace,@project,tag.name),class: 'btn btn-grouped btn-xs btn-remove remove-row has-tooltip',title: "Delete tag",method: :delete,data: {confirm: "Deleting the '#{tag.name}' tag cannot be undone. Are you sure?",container: 'body'},remote: truedo
=link_tonamespace_project_tag_path(@project.namespace,@project,tag.name),class: 'btn btn-remove remove-row has-tooltip',title: "Delete tag",method: :delete,data: {confirm: "Deleting the '#{tag.name}' tag cannot be undone. Are you sure?",container: 'body'},remote: truedo
=link_tonamespace_project_wiki_path(@project.namespace,@project,@page),data: {confirm: "Are you sure you want to delete this page?"},method: :delete,class: "btn btn-remove"do
=link_tonamespace_project_wiki_path(@project.namespace,@project,@page),data: {confirm: "Are you sure you want to delete this page?"},method: :delete,class: "btn btn-remove"do