<li class="popup__item" data-filter-target="item" data-navigable-list-target="item" id="<%= "filter-tag-#{tag.id}" %>">
  <%= icon_tag "tag", class: "popup__icon" %>
  <%= link_to cards_path(tag_ids: [tag]), class: "popup__btn btn" do %>
    <span class="overflow-ellipsis"><%= tag.title %> (<%= tag.cards_count %>)</span>
  <% end %>
</li>
