<span style="background: <%= labeling.label.color %>" class="radius label no-m" data-labeling-id="<%= labeling.id %>" id="label-id-<%= labeling.label.id %>">
  <%= labeling.label.name %>
  <%= link_to labeling_path(labeling), method: :delete, remote: true do %>
    <span class="fa-times fa ib" style="color: #eee"></span>
  <% end %>
</span>

<span style="background: <%= labeling.label.color %>" class="radius label no-m" data-labeling-id="<%= labeling.id %>" id="label-id-<%= labeling.label.id %>">
  <%= labeling.label.name %>
  <% if can? :update, labeling.labelable %>
    <%= link_to labeling_path(labeling), method: :delete, remote: true do %>
      <span class="fa-times fa ib" style="color: #eee"></span>
    <% end %>
  <% end %>
</span>

Hide labeling delete when no permissions
Hide labeling delete when no permissions
