{% extends 'base.html' %} {% block content %}

Resource groups

{% for resource_group in resource_groups.qs %}

{{ resource_group.name }}

{% if resource_group.attribute_definitions.all|length == 0 %} {% else %} {% for attribute in resource_group.attribute_definitions.all %} {% endfor %}
Attribute Total resource
{{ attribute.name }} {{ attribute.get_total_resource }}
{% endif %}
{% endfor %}

Filter

{{ resource_groups.form.as_p }}
{% endblock %}