{% extends 'base.html' %} {% load render_table from django_tables2 %} {% load static %} {% load squest_utils %} {% block header_button %} {% endblock %} {% block main %}
{% for billing_group in billing_groups.qs %} {% with tables=tables_dict|lookup:billing_group.id %}

{{ billing_group.name }}

{% if tables.quota_table.data.data %} {% with object_name='quota_binding' parent_id=billing_group.id %} {% render_table tables.quota_table %} {% endwith %} {% endif %}
{% if tables.users_table.data.data %} {% with object_id=billing_group.id object=billing_group %} {% render_table tables.users_table %} {% endwith %} {% endif %}
{% endwith %} {% endfor %}
{% endblock %}