{% load uploaded_material %} {% load community_utils %} {% if not hide_list_button|default:False %} All material {% endif %} {% if not hide_add_button|default:False and user|combine:model|can_add_material:material_url_kwargs %} Add material {% endif %} {% if limit and total_material %}