{% extends '_list_base.html' %} {% load common_tags %} {% block content_left_head %} 添加用户组 {% endblock %} {% block table_head %} 名称 用户数量 资产数量 描述 {% endblock %} {% block table_body %} {% for usergroup in usergroup_list %} {{ usergroup.name }} {{ usergroup.user_set.all|length }} 数量 {{ usergroup.comment|truncatewords:8 }} 编辑 删除 {% endfor %} {% endblock %} {% block content_bottom_left %} {% endblock %}