{% set teams = data %}
{% set title = options.title|default(title|default('teams')) %}

{% embed '@theme/embeds/card.html.twig' with {'border': false, 'margin_bottom': 0} %}
    {% import "macros/widgets.html.twig" as widgets %}
    {% block box_title %}{{ title|trans }}{% endblock %}
    {% block box_body_class %}p-0 box-body-scrollable{% endblock %}
    {% block box_body %}
        {{ widgets.team_list(teams, {title: false}) }}
    {% endblock %}
{% endembed %}
