{% extends 'wise_core/generic/parent_base_generic.html' %} {% load i18n %} {% comment %} One child model's rows, inside the parent's chrome - the body of one tab. Pair with `wise_core.mixins.WiseParentDetailChildListView`. Same block names as `list_generic.html`; the heading defaults to the selected tab's label, so a child list that only needs a table can leave every block but `card_item` (or `list_body`) alone. {% endcomment %} {% block parent_body %}
{% block list_icon %}{% endblock %}

{% block list_title %}{{ selected_tab.label }}{% endblock %}

{% block list_count %}{{ paginator.count }} {% trans "record(s)" %}{% endblock %}

{% block list_actions %}{% endblock %}
{% block list_body %}
{% for item in object_list %} {% block card_item %}{% endblock %} {% empty %} {% include 'wise_core/components/_no_data.html' %} {% endfor %}
{% include 'wise_core/components/_pagination.html' %}
{% endblock %} {% endblock %}