{% csrf_token %} {% if js_select_all %} {% include "aristotle_mdr/helpers/select_all.html" with total_queryset_size=total_queryset_size item=model.get_verbose_name_plural %} {% if delete %} {% include "aristotle_mdr/helpers/paginated_list.html" with delete=delete js_select_all=True %} {% else %} {% include "aristotle_mdr/helpers/paginated_list.html" with js_select_all=True %} {% endif %} {% else %} {% if delete %} {% include "aristotle_mdr/helpers/paginated_list.html" with delete=delete js_select_all=True %} {% else %} {% include "aristotle_mdr/helpers/paginated_list.html" with js_select_all=True %} {% endif %} {% endif %} {% include "aristotle_mdr/helpers/list_action_bar.html" with wrap=True %}